Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001668/0.001668, allocations: 112 kB / 20.43 MB, free: 1.465 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.001339/0.001339, allocations: 186.4 kB / 23.71 MB, free: 4.715 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.442/1.442, allocations: 225.6 MB / 252.5 MB, free: 13 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.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 43.92 kB / 370.9 MB, free: 9.367 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2565, allocations: 52.19 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00563/0.2621, allocations: 3.807 MB / 426.9 MB, free: 10.85 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002187/0.2643, allocations: 0.9619 MB / 427.9 MB, free: 9.887 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005824/0.2649, allocations: 27.81 kB / 427.9 MB, free: 9.859 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.2654, allocations: 162.8 kB / 428.1 MB, free: 9.699 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00106/0.2665, allocations: 286.4 kB / 428.3 MB, free: 9.418 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.2668, allocations: 127.8 kB / 428.5 MB, free: 9.293 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001682/0.2685, allocations: 1.389 MB / 429.9 MB, free: 7.898 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009702/0.2695, allocations: 0.6314 MB / 430.5 MB, free: 7.23 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009259/0.2704, allocations: 0.6425 MB / 431.1 MB, free: 6.586 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.2715, allocations: 0.7783 MB / 431.9 MB, free: 5.805 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.2717, allocations: 156 kB / 432.1 MB, free: 5.652 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.272, allocations: 156 kB / 432.2 MB, free: 5.5 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0004753/0.2724, allocations: 458.8 kB / 432.7 MB, free: 5.051 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0009191/0.2734, allocations: 0.7311 MB / 433.4 MB, free: 4.316 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002212/0.2756, allocations: 2.041 MB / 435.4 MB, free: 2.273 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.2756, allocations: 4 kB / 435.4 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.453e-06/0.2756, allocations: 3.938 kB / 435.4 MB, free: 2.266 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.963e-05/0.2756, allocations: 4 kB / 435.4 MB, free: 2.262 MB / 334.1 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.003344/0.2789, allocations: 1.619 MB / 437.1 MB, free: 0.6055 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.279, allocations: 16.92 kB / 437.1 MB, free: 0.5898 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.2792, allocations: 148 kB / 437.2 MB, free: 456 kB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.2808, allocations: 0.824 MB / 438.1 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.909e-05/0.2809, allocations: 86.34 kB / 438.1 MB, free: 15.5 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.2811, allocations: 112 kB / 438.2 MB, free: 15.39 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.2836, allocations: 1.544 MB / 439.8 MB, free: 13.8 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.2836, allocations: 11.98 kB / 439.8 MB, free: 13.79 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.2837, allocations: 44 kB / 439.8 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.2838, allocations: 28 kB / 439.9 MB, free: 13.72 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.2858, allocations: 1.312 MB / 441.2 MB, free: 12.4 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006549/0.2924, allocations: 4.113 MB / 445.3 MB, free: 8.156 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009435/0.2933, allocations: 0.6129 MB / 445.9 MB, free: 7.535 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00068/0.294, allocations: 430.5 kB / 446.3 MB, free: 7.109 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.294, allocations: 12.44 kB / 446.3 MB, free: 7.098 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.2941, allocations: 35 kB / 446.4 MB, free: 7.055 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=49): time 2.154e-06/0.2941, allocations: 0 / 446.4 MB, free: 7.055 MB / 350.1 MB
Notification: Performance of matching and sorting (n=51): time 0.003452/0.2975, allocations: 1.888 MB / 448.3 MB, free: 5.129 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.2976, allocations: 55.84 kB / 448.3 MB, free: 5.059 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.2987, allocations: 0.8242 MB / 449.1 MB, free: 4.223 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.581e-05/0.2987, allocations: 37.7 kB / 449.2 MB, free: 4.18 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004451/0.2992, allocations: 0.5506 MB / 449.7 MB, free: 3.621 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.2993, allocations: 186.5 kB / 449.9 MB, free: 3.438 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.2995, allocations: 102.3 kB / 450 MB, free: 3.332 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002033/0.2997, allocations: 386.8 kB / 450.4 MB, free: 2.945 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.3002, allocations: 305.1 kB / 450.7 MB, free: 2.648 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/0.3008, allocations: 400.2 kB / 451.1 MB, free: 2.227 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.3018, allocations: 0.7018 MB / 451.8 MB, free: 1.492 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3018, allocations: 0 / 451.8 MB, free: 1.492 MB / 350.1 MB
Notification: Performance of matching and sorting (n=69) (initialization): time 0.001535/0.3034, allocations: 0.9113 MB / 452.7 MB, free: 0.5703 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.3034, allocations: 8.312 kB / 452.7 MB, free: 0.5625 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3034, allocations: 4 kB / 452.7 MB, free: 0.5586 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003316/0.3037, allocations: 112.7 kB / 452.8 MB, free: 456 kB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.3043, allocations: 119.9 kB / 452.9 MB, free: 336 kB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.3069, allocations: 2.257 MB / 455.2 MB, free: 13.96 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.3073, allocations: 43.97 kB / 455.2 MB, free: 13.92 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.3074, allocations: 16 kB / 455.2 MB, free: 13.9 MB / 366.1 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.0007626/0.3081, allocations: 461.4 kB / 455.7 MB, free: 13.44 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.3083, allocations: 75.53 kB / 455.8 MB, free: 13.37 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.3085, allocations: 91.06 kB / 455.9 MB, free: 13.27 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.3085, allocations: 8 kB / 455.9 MB, free: 13.27 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3085, allocations: 0 / 455.9 MB, free: 13.27 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3085, allocations: 3.938 kB / 455.9 MB, free: 13.26 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/0.312, allocations: 1.985 MB / 457.9 MB, free: 11.21 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.312, allocations: 4 kB / 457.9 MB, free: 11.21 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.3124, allocations: 87.88 kB / 457.9 MB, free: 11.12 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/0.3126, allocations: 108.9 kB / 458.1 MB, free: 11.01 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.3126, allocations: 16 kB / 458.1 MB, free: 11 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/0.3149, allocations: 2.218 MB / 460.3 MB, free: 8.66 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.3149, allocations: 4.031 kB / 460.3 MB, free: 8.656 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.3168, allocations: 1.208 MB / 461.5 MB, free: 7.414 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.317, allocations: 83.52 kB / 461.6 MB, free: 7.332 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.3171, allocations: 15.98 kB / 461.6 MB, free: 7.316 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.3175, allocations: 47.95 kB / 461.6 MB, free: 7.27 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.3176, allocations: 52.3 kB / 461.7 MB, free: 7.215 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.3177, allocations: 20.06 kB / 461.7 MB, free: 7.195 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0008074/0.3185, allocations: 0.5849 MB / 462.3 MB, free: 6.613 MB / 366.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.3185, allocations: 0 / 462.3 MB, free: 6.613 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0007638/0.3192, allocations: 208 kB / 462.5 MB, free: 6.41 MB / 366.1 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.0001818/0.3194, allocations: 127 kB / 462.6 MB, free: 6.277 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001455/0.3209, allocations: 0.7964 MB / 463.4 MB, free: 5.465 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.3209, allocations: 4 kB / 463.4 MB, free: 5.461 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007473/0.3216, allocations: 481.7 kB / 463.9 MB, free: 4.98 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008936/0.3225, allocations: 174.9 kB / 464.1 MB, free: 4.812 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.3262, allocations: 2.233 MB / 466.3 MB, free: 2.527 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.3274, allocations: 1.332 MB / 467.6 MB, free: 1.168 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0005474/0.3279, allocations: 181.8 kB / 467.8 MB, free: 0.9883 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.3281, allocations: 51.44 kB / 467.9 MB, free: 0.9375 MB / 366.1 MB
Notification: Performance of SimCode: time 1.303e-06/0.3281, allocations: 0 / 467.9 MB, free: 0.9375 MB / 366.1 MB
Notification: Performance of Templates: time 0.02536/0.3534, allocations: 11.08 MB / 478.9 MB, free: 5.98 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.69093616027385]