Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001354/0.001354, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001638/0.001638, allocations: 190.2 kB / 23.72 MB, free: 4.68 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.551/1.551, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench")
translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 51.92 kB / 370.9 MB, free: 9.34 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2383, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01015/0.2485, allocations: 7.855 MB / 431 MB, free: 6.773 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00597/0.2545, allocations: 2.664 MB / 433.6 MB, free: 4.102 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.2555, allocations: 87.38 kB / 433.7 MB, free: 4.016 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001338/0.2568, allocations: 0.5796 MB / 434.3 MB, free: 3.434 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002111/0.2589, allocations: 0.7692 MB / 435.1 MB, free: 2.66 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0009256/0.2598, allocations: 427.3 kB / 435.5 MB, free: 2.242 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003895/0.2637, allocations: 3.288 MB / 438.8 MB, free: 14.94 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002833/0.2666, allocations: 2.007 MB / 440.8 MB, free: 12.88 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.2697, allocations: 1.699 MB / 442.5 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003674/0.2734, allocations: 2.083 MB / 444.6 MB, free: 9.094 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001028/0.2744, allocations: 464 kB / 445 MB, free: 8.641 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.2762, allocations: 0.7455 MB / 445.8 MB, free: 7.895 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001381/0.2776, allocations: 1.27 MB / 447 MB, free: 6.621 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002956/0.2806, allocations: 1.96 MB / 449 MB, free: 4.652 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.007547/0.2881, allocations: 6.127 MB / 455.1 MB, free: 14.51 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2881, allocations: 0 / 455.1 MB, free: 14.51 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.873e-06/0.2881, allocations: 0 / 455.1 MB, free: 14.51 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 0.0001777/0.2883, allocations: 0 / 455.1 MB, free: 14.51 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: 772
 * Number of variables: 772
Notification: Performance of Generate backend data structure: time 0.009643/0.298, allocations: 3.809 MB / 458.9 MB, free: 10.65 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.298, allocations: 8.031 kB / 458.9 MB, free: 10.64 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.2991, allocations: 410.6 kB / 459.3 MB, free: 10.24 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004608/0.3037, allocations: 2.099 MB / 461.4 MB, free: 8.098 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/0.3039, allocations: 229.8 kB / 461.7 MB, free: 7.871 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005848/0.3045, allocations: 284 kB / 461.9 MB, free: 7.594 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00865/0.3132, allocations: 4.198 MB / 466.1 MB, free: 3.344 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.792e-05/0.3132, allocations: 0 / 466.1 MB, free: 3.344 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003082/0.3135, allocations: 116 kB / 466.3 MB, free: 3.23 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001897/0.3137, allocations: 137.9 kB / 466.4 MB, free: 3.094 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00656/0.3203, allocations: 3.494 MB / 469.9 MB, free: 15.59 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0202/0.3405, allocations: 10.67 MB / 480.6 MB, free: 4.719 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.3433, allocations: 1.644 MB / 482.2 MB, free: 3.082 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002735/0.3461, allocations: 1.411 MB / 483.6 MB, free: 1.668 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.3463, allocations: 48.95 kB / 483.7 MB, free: 1.617 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/0.3464, allocations: 55.5 kB / 483.7 MB, free: 1.555 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=128): time 3.406e-06/0.3464, allocations: 0 / 483.7 MB, free: 1.555 MB / 382.1 MB
Notification: Performance of matching and sorting (n=133): time 0.009931/0.3563, allocations: 5.125 MB / 488.8 MB, free: 12.4 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.3564, allocations: 90.42 kB / 488.9 MB, free: 12.29 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/0.3594, allocations: 1.909 MB / 490.8 MB, free: 10.38 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001627/0.3596, allocations: 49.7 kB / 490.9 MB, free: 10.32 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.3607, allocations: 1.353 MB / 492.2 MB, free: 8.957 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004564/0.3611, allocations: 483.9 kB / 492.7 MB, free: 8.48 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004671/0.3616, allocations: 275.5 kB / 493 MB, free: 8.203 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001248/0.3617, allocations: 309.1 kB / 493.3 MB, free: 7.898 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.3631, allocations: 0.8159 MB / 494.1 MB, free: 7.082 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.3649, allocations: 1.182 MB / 495.3 MB, free: 5.758 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003268/0.3682, allocations: 2.082 MB / 497.4 MB, free: 3.531 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3682, allocations: 0 / 497.4 MB, free: 3.531 MB / 398.1 MB
Notification: Performance of matching and sorting (n=189) (initialization): time 0.004881/0.373, allocations: 2.528 MB / 499.9 MB, free: 0.9922 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3731, allocations: 8 kB / 499.9 MB, free: 0.9844 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.3731, allocations: 12 kB / 499.9 MB, free: 0.9727 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.375, allocations: 472.3 kB / 0.4886 GB, free: 0.5117 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.3764, allocations: 335.5 kB / 0.489 GB, free: 188 kB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/0.3823, allocations: 4.3 MB / 0.4932 GB, free: 11.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.3836, allocations: 75.92 kB / 0.4932 GB, free: 11.7 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.3838, allocations: 60 kB / 0.4933 GB, free: 11.64 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 46
 * 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 (158):
 * Single equations (assignments): 153
 * Array equations: 4
 * 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
   {(2,26,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001705/0.3855, allocations: 1.052 MB / 0.4943 GB, free: 10.58 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004571/0.3859, allocations: 206.8 kB / 0.4945 GB, free: 10.38 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003716/0.3896, allocations: 2.129 MB / 0.4966 GB, free: 8.234 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/0.3897, allocations: 19.98 kB / 0.4966 GB, free: 8.215 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3897, allocations: 4 kB / 0.4966 GB, free: 8.211 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.3897, allocations: 3.984 kB / 0.4966 GB, free: 8.207 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008731/0.3984, allocations: 5.146 MB / 0.5016 GB, free: 2.973 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.3984, allocations: 4 kB / 0.5016 GB, free: 2.969 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.3995, allocations: 235.8 kB / 0.5019 GB, free: 2.738 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/0.4013, allocations: 456.8 kB / 0.5023 GB, free: 2.289 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.4014, allocations: 35.92 kB / 0.5023 GB, free: 2.254 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005593/0.407, allocations: 4.204 MB / 0.5064 GB, free: 13.94 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.407, allocations: 0 / 0.5064 GB, free: 13.94 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/0.4124, allocations: 3.252 MB / 0.5096 GB, free: 10.64 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.4135, allocations: 402.7 kB / 0.51 GB, free: 10.25 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.4137, allocations: 24 kB / 0.51 GB, free: 10.23 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.4148, allocations: 95.89 kB / 0.5101 GB, free: 10.13 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.415, allocations: 104.7 kB / 0.5102 GB, free: 10.03 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.4151, allocations: 43.98 kB / 0.5103 GB, free: 9.984 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.002225/0.4173, allocations: 1.338 MB / 0.5116 GB, free: 8.652 MB / 430.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4173, allocations: 0 / 0.5116 GB, free: 8.652 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.001754/0.4191, allocations: 0.5546 MB / 0.5121 GB, free: 8.098 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.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 (104):
 * Single equations (assignments): 99
 * Array equations: 4
 * 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
   {(2,26,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0006249/0.4197, allocations: 227.2 kB / 0.5123 GB, free: 7.871 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.003996/0.4237, allocations: 2.126 MB / 0.5144 GB, free: 5.734 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4237, allocations: 0 / 0.5144 GB, free: 5.734 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002156/0.4259, allocations: 1.148 MB / 0.5155 GB, free: 4.57 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.4282, allocations: 0.5117 MB / 0.516 GB, free: 4.059 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.4388, allocations: 5.842 MB / 0.5217 GB, free: 14.16 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002746/0.4415, allocations: 2.416 MB / 0.5241 GB, free: 11.71 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.00144/0.443, allocations: 499.4 kB / 0.5246 GB, free: 11.22 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.4434, allocations: 135.4 kB / 0.5247 GB, free: 11.09 MB / 446.1 MB
Notification: Performance of SimCode: time 9.71e-07/0.4434, allocations: 0 / 0.5247 GB, free: 11.09 MB / 446.1 MB
Notification: Performance of Templates: time 0.2288/0.6722, allocations: 32.06 MB / 0.556 GB, free: 95.69 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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: 5.7182094138115644]