Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001491/0.001491, allocations: 108.5 kB / 21.18 MB, free: 0.7148 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.001491/0.001491, allocations: 189.2 kB / 24.47 MB, free: 4.086 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 61.33 kB / 347.7 MB, free: 9.551 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3452, allocations: 49.15 MB / 396.8 MB, free: 9.516 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008903/0.3541, allocations: 7.772 MB / 404.6 MB, free: 3.996 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0061/0.3602, allocations: 2.762 MB / 407.4 MB, free: 1.984 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/0.3624, allocations: 78.06 kB / 407.4 MB, free: 1.945 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001848/0.3642, allocations: 0.5917 MB / 408 MB, free: 1.609 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003051/0.3673, allocations: 0.765 MB / 408.8 MB, free: 1.141 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3688, allocations: 450.1 kB / 409.2 MB, free: 0.8789 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005272/0.3741, allocations: 3.412 MB / 412.6 MB, free: 15.17 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003252/0.3773, allocations: 1.904 MB / 414.5 MB, free: 13.96 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004505/0.3818, allocations: 1.707 MB / 416.2 MB, free: 12.99 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005784/0.3876, allocations: 2.073 MB / 418.3 MB, free: 11.6 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001306/0.3889, allocations: 462 kB / 418.8 MB, free: 11.6 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.3913, allocations: 0.746 MB / 419.5 MB, free: 11.4 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001534/0.3929, allocations: 1.259 MB / 420.8 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00426/0.3971, allocations: 1.97 MB / 422.7 MB, free: 9.031 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00892/0.4061, allocations: 6.11 MB / 428.9 MB, free: 3.266 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4061, allocations: 0 / 428.9 MB, free: 3.266 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.153e-06/0.4061, allocations: 0 / 428.9 MB, free: 3.266 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 0.0001789/0.4062, allocations: 3.938 kB / 428.9 MB, free: 3.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: 772
 * Number of variables: 772
Notification: Performance of Generate backend data structure: time 0.009528/0.4158, allocations: 3.786 MB / 432.6 MB, free: 15.43 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4158, allocations: 8.031 kB / 432.7 MB, free: 15.42 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.4169, allocations: 418.5 kB / 433.1 MB, free: 15.01 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003554/0.4204, allocations: 1.901 MB / 435 MB, free: 13.07 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.4206, allocations: 225.8 kB / 435.2 MB, free: 12.85 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004678/0.4211, allocations: 287.9 kB / 435.5 MB, free: 12.57 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.008266/0.4294, allocations: 4.194 MB / 439.7 MB, free: 8.32 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-05/0.4294, allocations: 0 / 439.7 MB, free: 8.32 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003347/0.4298, allocations: 116 kB / 439.8 MB, free: 8.207 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001836/0.4299, allocations: 141.9 kB / 439.9 MB, free: 8.066 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006415/0.4364, allocations: 3.49 MB / 443.4 MB, free: 4.566 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02005/0.4564, allocations: 10.69 MB / 454.1 MB, free: 9.672 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002702/0.4591, allocations: 1.648 MB / 455.7 MB, free: 8.031 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002747/0.4619, allocations: 1.411 MB / 457.1 MB, free: 6.617 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.4621, allocations: 48.95 kB / 457.2 MB, free: 6.57 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/0.4621, allocations: 47.56 kB / 457.2 MB, free: 6.516 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=128): time 3.176e-06/0.4621, allocations: 0 / 457.2 MB, free: 6.516 MB / 366.1 MB
Notification: Performance of matching and sorting (n=133): time 0.01041/0.4725, allocations: 5.171 MB / 462.4 MB, free: 1.312 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.4726, allocations: 94.42 kB / 462.5 MB, free: 1.203 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/0.4756, allocations: 1.91 MB / 464.4 MB, free: 15.29 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.4757, allocations: 45.7 kB / 464.5 MB, free: 15.23 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.4768, allocations: 1.353 MB / 465.8 MB, free: 13.87 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004321/0.4772, allocations: 479.9 kB / 466.3 MB, free: 13.4 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005565/0.4777, allocations: 275.4 kB / 466.5 MB, free: 13.12 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002222/0.478, allocations: 305.1 kB / 466.8 MB, free: 12.82 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.4793, allocations: 0.8237 MB / 467.7 MB, free: 12 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.4812, allocations: 1.179 MB / 468.8 MB, free: 10.67 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003202/0.4844, allocations: 2.091 MB / 470.9 MB, free: 8.43 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.4844, allocations: 4 kB / 470.9 MB, free: 8.426 MB / 382.1 MB
Notification: Performance of matching and sorting (n=189) (initialization): time 0.00462/0.489, allocations: 2.527 MB / 473.5 MB, free: 5.887 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.489, allocations: 8 kB / 473.5 MB, free: 5.879 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.489, allocations: 12 kB / 473.5 MB, free: 5.867 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/0.491, allocations: 487.3 kB / 474 MB, free: 5.391 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.4923, allocations: 331.5 kB / 474.3 MB, free: 5.066 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005968/0.4983, allocations: 4.3 MB / 478.6 MB, free: 0.6523 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.4997, allocations: 95.92 kB / 478.7 MB, free: 0.5586 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.4998, allocations: 55.98 kB / 478.7 MB, free: 0.5039 MB / 382.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 47
 * 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.001775/0.5016, allocations: 1.048 MB / 479.8 MB, free: 15.45 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004184/0.502, allocations: 198.8 kB / 480 MB, free: 15.25 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/0.5058, allocations: 2.129 MB / 482.1 MB, free: 13.11 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/0.5058, allocations: 16 kB / 482.1 MB, free: 13.09 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.5058, allocations: 4 kB / 482.1 MB, free: 13.09 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.5059, allocations: 7.969 kB / 482.1 MB, free: 13.08 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009386/0.5152, allocations: 5.157 MB / 487.3 MB, free: 7.832 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.5153, allocations: 4 kB / 487.3 MB, free: 7.828 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.5163, allocations: 231.8 kB / 487.5 MB, free: 7.602 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001885/0.5182, allocations: 469 kB / 488 MB, free: 7.141 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.5183, allocations: 31.98 kB / 488 MB, free: 7.109 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006051/0.5244, allocations: 4.179 MB / 492.2 MB, free: 2.82 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5244, allocations: 0 / 492.2 MB, free: 2.82 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005558/0.5299, allocations: 3.26 MB / 495.5 MB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.5311, allocations: 394.7 kB / 495.8 MB, free: 15.13 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.5313, allocations: 27.98 kB / 495.9 MB, free: 15.1 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.5324, allocations: 87.91 kB / 496 MB, free: 15.02 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/0.5326, allocations: 116.5 kB / 496.1 MB, free: 14.9 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.549e-05/0.5327, allocations: 36 kB / 496.1 MB, free: 14.87 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.002089/0.5348, allocations: 1.342 MB / 497.4 MB, free: 13.53 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.31e-07/0.5348, allocations: 0 / 497.4 MB, free: 13.53 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001761/0.5366, allocations: 0.5546 MB / 498 MB, free: 12.98 MB / 414.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.000573/0.5371, allocations: 218.7 kB / 498.2 MB, free: 12.75 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.003771/0.5409, allocations: 2.134 MB / 0.4886 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5409, allocations: 0 / 0.4886 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002216/0.5431, allocations: 1.168 MB / 0.4898 GB, free: 9.426 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.5454, allocations: 0.505 MB / 0.4903 GB, free: 8.918 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.5566, allocations: 5.862 MB / 0.496 GB, free: 2.988 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/0.5592, allocations: 2.423 MB / 0.4983 GB, free: 0.5352 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.001477/0.5606, allocations: 499.4 kB / 0.4988 GB, free: 44 kB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/0.5611, allocations: 127.4 kB / 0.4989 GB, free: 15.92 MB / 430.1 MB
Notification: Performance of SimCode: time 7.92e-07/0.5612, allocations: 7.938 kB / 0.4989 GB, free: 15.91 MB / 430.1 MB
Notification: Performance of Templates: time 0.06087/0.622, allocations: 32.05 MB / 0.5302 GB, free: 15.8 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.041823647916317]