Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.611e-05, allocations: 6.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005346/0.005372, allocations: 3.48 MB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.00738, allocations: 0.9892 MB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.007617, allocations: 27.81 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.00799, allocations: 162.8 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008633/0.008853, allocations: 310 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.009176, allocations: 135.8 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.01086, allocations: 1.443 MB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009222/0.01178, allocations: 0.6313 MB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.01315, allocations: 0.9239 MB / 280.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.01427, allocations: 0.7092 MB / 281.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.01451, allocations: 156 kB / 281.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.01484, allocations: 156 kB / 281.4 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005267/0.01537, allocations: 478.6 kB / 281.9 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006659/0.01603, allocations: 0.5145 MB / 282.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.0184, allocations: 2.084 MB / 284.5 MB, free: 5.559 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.0184, allocations: 0 / 284.5 MB, free: 5.559 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0184, allocations: 0 / 284.5 MB, free: 5.559 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.46e-05/0.01843, allocations: 0 / 284.5 MB, free: 5.559 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003183/0.02161, allocations: 1.615 MB / 286.1 MB, free: 3.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.02165, allocations: 8.031 kB / 286.1 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006903/0.02234, allocations: 264 kB / 286.4 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.02408, allocations: 0.874 MB / 287.2 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-05/0.02417, allocations: 82.59 kB / 287.3 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.02437, allocations: 112.4 kB / 287.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.02727, allocations: 1.703 MB / 289.1 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.02729, allocations: 0 / 289.1 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.02742, allocations: 51.98 kB / 289.2 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.02744, allocations: 24 kB / 289.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1181/0.1456, allocations: 1.308 MB / 290.5 MB, free: 27.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005948/0.1515, allocations: 3.681 MB / 294.2 MB, free: 26.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009145/0.1524, allocations: 0.6109 MB / 294.8 MB, free: 25.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007335/0.1532, allocations: 437.3 kB / 295.2 MB, free: 25.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.1532, allocations: 9.297 kB / 295.2 MB, free: 25.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1532, allocations: 42.56 kB / 295.3 MB, free: 25.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 2.946e-06/0.1532, allocations: 0 / 295.3 MB, free: 25.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.003162/0.1564, allocations: 1.904 MB / 297.2 MB, free: 24.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.1564, allocations: 57.31 kB / 297.2 MB, free: 24.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009515/0.1574, allocations: 0.8002 MB / 298 MB, free: 24.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.1574, allocations: 39.89 kB / 298.1 MB, free: 24.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.1577, allocations: 0.5558 MB / 298.6 MB, free: 24.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.78e-05/0.1578, allocations: 183.5 kB / 298.8 MB, free: 24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.158, allocations: 102.8 kB / 298.9 MB, free: 23.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1581, allocations: 381.8 kB / 299.3 MB, free: 23.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.1585, allocations: 305 kB / 299.6 MB, free: 23.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/0.159, allocations: 404.6 kB / 300 MB, free: 23.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009144/0.1599, allocations: 0.7026 MB / 300.7 MB, free: 22.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1599, allocations: 1.344 kB / 300.7 MB, free: 22.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001357/0.1613, allocations: 0.9382 MB / 301.6 MB, free: 22.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1613, allocations: 7.75 kB / 301.6 MB, free: 22.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1613, allocations: 2.75 kB / 301.6 MB, free: 22.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/0.1616, allocations: 112.8 kB / 301.7 MB, free: 22.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/0.1622, allocations: 126.6 kB / 301.9 MB, free: 22.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.1639, allocations: 2.219 MB / 304.1 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.1643, allocations: 24.11 kB / 304.1 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.1643, allocations: 19.16 kB / 304.1 MB, free: 20.62 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005256/0.1649, allocations: 464.8 kB / 304.6 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.165, allocations: 99.84 kB / 304.7 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.1651, allocations: 88.66 kB / 304.8 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1651, allocations: 5.562 kB / 304.8 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.1652, allocations: 1.094 kB / 304.8 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1652, allocations: 5.578 kB / 304.8 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.1676, allocations: 1.748 MB / 306.5 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1676, allocations: 8.328 kB / 306.5 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.1679, allocations: 86.2 kB / 306.6 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002346/0.1681, allocations: 110.1 kB / 306.7 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.1681, allocations: 15.8 kB / 306.7 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.1696, allocations: 2.189 MB / 308.9 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1696, allocations: 2.938 kB / 308.9 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.1708, allocations: 1.214 MB / 310.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.171, allocations: 93.03 kB / 310.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/0.1711, allocations: 12 kB / 310.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.1714, allocations: 51.95 kB / 310.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.945e-05/0.1715, allocations: 44.36 kB / 310.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.1716, allocations: 19.98 kB / 310.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000521/0.1721, allocations: 0.5693 MB / 310.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1721, allocations: 0 / 310.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006917/0.1728, allocations: 212 kB / 311.1 MB, free: 14.55 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001299/0.1729, allocations: 111.2 kB / 311.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.1739, allocations: 0.8024 MB / 312 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1739, allocations: 0 / 312 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.1745, allocations: 482 kB / 312.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/0.1753, allocations: 167.9 kB / 312.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.1778, allocations: 2.209 MB / 314.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.1783, allocations: 0.7408 MB / 315.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003331/0.1786, allocations: 185.4 kB / 315.8 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.1788, allocations: 48.5 kB / 315.9 MB, free: 9.711 MB / 266.7 MB Notification: Performance of SimCode: time 1.213e-06/0.1788, allocations: 0 / 315.9 MB, free: 9.711 MB / 266.7 MB Notification: Performance of Templates: time 0.01504/0.1938, allocations: 10.36 MB / 326.2 MB, free: 15.58 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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: 4.6881539430469275]