Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 112 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 190.7 kB / 23.72 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 43.92 kB / 371 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2898, allocations: 52.18 MB / 423.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01661/0.3064, allocations: 13 MB / 436.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009136/0.3156, allocations: 4.206 MB / 440.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.3181, allocations: 103.3 kB / 440.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00377/0.3218, allocations: 1.009 MB / 441.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005684/0.3275, allocations: 1.243 MB / 442.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.3297, allocations: 0.5149 MB / 443.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007884/0.3375, allocations: 4.637 MB / 447.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003432/0.341, allocations: 2.081 MB / 450 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004761/0.3457, allocations: 2.173 MB / 452.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005408/0.3511, allocations: 2.627 MB / 454.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.353, allocations: 0.5508 MB / 455.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.3554, allocations: 0.6443 MB / 456 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001903/0.3573, allocations: 1.539 MB / 457.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004892/0.3622, allocations: 2.481 MB / 460 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.3726, allocations: 7.443 MB / 467.4 MB, free: 2.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.3726, allocations: 0 / 467.4 MB, free: 2.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3726, allocations: 0 / 467.4 MB, free: 2.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002538/0.3728, allocations: 0 / 467.4 MB, free: 2.184 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.0138/0.3866, allocations: 4.724 MB / 472.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.3867, allocations: 16.03 kB / 472.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.3884, allocations: 0.5136 MB / 472.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005853/0.3943, allocations: 2.528 MB / 475.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/0.3945, allocations: 263 kB / 475.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007412/0.3953, allocations: 355.9 kB / 475.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.4061, allocations: 5.029 MB / 480.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.653e-05/0.4062, allocations: 15.83 kB / 480.8 MB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003727/0.4066, allocations: 144 kB / 481 MB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/0.4068, allocations: 179.1 kB / 481.2 MB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/0.417, allocations: 4.298 MB / 485.5 MB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03458/0.4516, allocations: 14.59 MB / 0.4883 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004885/0.4565, allocations: 2.703 MB / 0.491 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/0.4602, allocations: 1.877 MB / 0.4928 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/0.4605, allocations: 57.95 kB / 0.4929 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.74e-05/0.4605, allocations: 52.56 kB / 0.4929 GB, free: 12.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.477e-06/0.4605, allocations: 4 kB / 0.4929 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02449/0.485, allocations: 9.613 MB / 0.5023 GB, free: 2.754 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.4851, allocations: 73.41 kB / 0.5024 GB, free: 2.668 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00524/0.4903, allocations: 2.506 MB / 0.5048 GB, free: 144 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004314/0.4907, allocations: 65.7 kB / 0.5049 GB, free: 72 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001642/0.4924, allocations: 1.658 MB / 0.5065 GB, free: 14.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001122/0.4935, allocations: 0.7669 MB / 0.5072 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.4946, allocations: 420.4 kB / 0.5076 GB, free: 13.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4948, allocations: 301.1 kB / 0.5079 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002564/0.4973, allocations: 1.301 MB / 0.5092 GB, free: 11.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002948/0.5003, allocations: 1.778 MB / 0.5109 GB, free: 9.633 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005735/0.506, allocations: 3.211 MB / 0.5141 GB, free: 6.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.506, allocations: 4 kB / 0.5141 GB, free: 6.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008954/0.515, allocations: 4.073 MB / 0.5181 GB, free: 2.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.496e-05/0.515, allocations: 14.81 kB / 0.5181 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.914e-05/0.5151, allocations: 12 kB / 0.5181 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003484/0.5186, allocations: 0.8834 MB / 0.5189 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/0.5218, allocations: 0.5305 MB / 0.5195 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.535, allocations: 9.178 MB / 0.5284 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002832/0.5379, allocations: 119.9 kB / 0.5285 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005545/0.5384, allocations: 84 kB / 0.5286 GB, free: 6.969 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003297/0.5417, allocations: 1.211 MB / 0.5298 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009876/0.5427, allocations: 294.1 kB / 0.5301 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007928/0.5506, allocations: 3.695 MB / 0.5337 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.5506, allocations: 20 kB / 0.5337 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/0.5507, allocations: 12.09 kB / 0.5337 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/0.5507, allocations: 11.95 kB / 0.5337 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2852/0.8359, allocations: 7.984 MB / 0.5415 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.8359, allocations: 3.969 kB / 0.5415 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/0.8375, allocations: 384.4 kB / 0.5419 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002979/0.8404, allocations: 0.9313 MB / 0.5428 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002227/0.8407, allocations: 51.42 kB / 0.5429 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009218/0.8499, allocations: 10.68 MB / 0.5533 GB, free: 96.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.8499, allocations: 4.469 kB / 0.5533 GB, free: 96.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007882/0.8578, allocations: 5.51 MB / 0.5587 GB, free: 93.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002431/0.8602, allocations: 0.5775 MB / 0.5592 GB, free: 92.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005627/0.8608, allocations: 51.98 kB / 0.5593 GB, free: 92.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.8622, allocations: 118.8 kB / 0.5594 GB, free: 92.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/0.8626, allocations: 189.4 kB / 0.5596 GB, free: 92.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.8627, allocations: 55.98 kB / 0.5596 GB, free: 92.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002135/0.8649, allocations: 1.734 MB / 0.5613 GB, free: 90.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8649, allocations: 0 / 0.5613 GB, free: 90.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00235/0.8672, allocations: 0.8029 MB / 0.5621 GB, free: 89.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005336/0.8677, allocations: 235 kB / 0.5623 GB, free: 89.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004905/0.8726, allocations: 3.615 MB / 0.5659 GB, free: 86.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8726, allocations: 1.812 kB / 0.5659 GB, free: 86.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003179/0.8758, allocations: 2.322 MB / 0.5681 GB, free: 83.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/0.8796, allocations: 0.7868 MB / 0.5689 GB, free: 82.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.8904, allocations: 7.903 MB / 0.5766 GB, free: 75.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/0.8923, allocations: 2.773 MB / 0.5793 GB, free: 72.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00197/0.8943, allocations: 0.6788 MB / 0.58 GB, free: 71.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/0.8948, allocations: 179.4 kB / 0.5802 GB, free: 71.36 MB / 446.1 MB Notification: Performance of SimCode: time 1.113e-06/0.8948, allocations: 4 kB / 0.5802 GB, free: 71.35 MB / 446.1 MB Notification: Performance of Templates: time 0.07524/0.9701, allocations: 46.61 MB / 0.6257 GB, free: 25.32 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.857457542791963]