Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001569/0.001569, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench")
translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.89 kB / 378.8 MB, free: 2.785 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2257, allocations: 53.37 MB / 432.1 MB, free: 7.094 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.0324/0.2581, allocations: 28.77 MB / 460.9 MB, free: 10.2 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01488/0.273, allocations: 7.22 MB / 468.1 MB, free: 2.953 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.005996/0.279, allocations: 318.4 kB / 468.4 MB, free: 2.641 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.03013/0.3091, allocations: 13.25 MB / 481.7 MB, free: 5.363 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.009002/0.3181, allocations: 2.641 MB / 484.3 MB, free: 2.711 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.005576/0.3237, allocations: 2.112 MB / 486.4 MB, free: 0.6172 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.02264/0.3463, allocations: 18.54 MB / 0.4931 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.04476/0.3911, allocations: 26.95 MB / 0.5194 GB, free: 2.859 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.01458/0.4057, allocations: 10.15 MB / 0.5294 GB, free: 8.691 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.3959/0.8016, allocations: 11.14 MB / 0.5402 GB, free: 30.63 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.006366/0.808, allocations: 2.92 MB / 0.5431 GB, free: 30.63 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.008456/0.8164, allocations: 3.192 MB / 0.5462 GB, free: 30.63 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.007107/0.8235, allocations: 5.492 MB / 0.5516 GB, free: 30.63 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.016/0.8395, allocations: 10.82 MB / 0.5621 GB, free: 28.22 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.03539/0.8749, allocations: 39.11 MB / 0.6003 GB, free: 5.383 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.8749, allocations: 3.562 kB / 0.6003 GB, free: 5.383 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.783e-06/0.8749, allocations: 0 / 0.6003 GB, free: 5.383 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.001094/0.876, allocations: 2.094 kB / 0.6003 GB, free: 5.383 MB / 446.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 4885
 * Number of variables: 4885
Notification: Performance of Generate backend data structure: time 0.06626/0.9423, allocations: 22.24 MB / 0.6221 GB, free: 2.73 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.9423, allocations: 8.031 kB / 0.6221 GB, free: 2.723 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04912/0.9914, allocations: 8.242 MB / 0.6301 GB, free: 10.55 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0263/1.018, allocations: 11.89 MB / 0.6417 GB, free: 15.06 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001317/1.019, allocations: 1.343 MB / 0.643 GB, free: 13.73 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.006696/1.026, allocations: 1.76 MB / 0.6448 GB, free: 11.98 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.08297/1.109, allocations: 28.76 MB / 0.6728 GB, free: 15.18 MB / 0.5138 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0006711/1.109, allocations: 15.91 kB / 0.6729 GB, free: 15.16 MB / 0.5138 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006596/1.116, allocations: 0.724 MB / 0.6736 GB, free: 14.45 MB / 0.5138 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009382/1.117, allocations: 0.8453 MB / 0.6744 GB, free: 13.61 MB / 0.5138 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06051/1.177, allocations: 24.84 MB / 0.6986 GB, free: 4.75 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4116/1.589, allocations: 86 MB / 0.7826 GB, free: 109 MB / 0.5763 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01971/1.609, allocations: 12.87 MB / 0.7952 GB, free: 108.7 MB / 0.5763 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.006992/1.616, allocations: 5.037 MB / 0.8001 GB, free: 108.6 MB / 0.5763 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003829/1.616, allocations: 178.8 kB / 0.8003 GB, free: 108.6 MB / 0.5763 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/1.616, allocations: 93.48 kB / 0.8004 GB, free: 108.5 MB / 0.5763 GB
Notification: Performance of pre-optimization done (n=577): time 7.914e-06/1.616, allocations: 0 / 0.8004 GB, free: 108.5 MB / 0.5763 GB
Notification: Performance of matching and sorting (n=577): time 0.02783/1.644, allocations: 14.69 MB / 0.8147 GB, free: 107.8 MB / 0.5763 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/1.644, allocations: 141.2 kB / 0.8149 GB, free: 107.7 MB / 0.5763 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007827/1.652, allocations: 6.425 MB / 0.8211 GB, free: 106.5 MB / 0.5763 GB
Notification: Performance of collectPreVariables (initialization): time 0.0004146/1.652, allocations: 116 kB / 0.8212 GB, free: 106.4 MB / 0.5763 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003469/1.656, allocations: 7.898 MB / 0.829 GB, free: 100.6 MB / 0.5763 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001676/1.657, allocations: 2.111 MB / 0.831 GB, free: 98.83 MB / 0.5763 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.00249/1.66, allocations: 2.115 MB / 0.8331 GB, free: 97.62 MB / 0.5763 GB
Notification: Performance of setup shared object (initialization): time 5.6e-05/1.66, allocations: 301.1 kB / 0.8334 GB, free: 97.32 MB / 0.5763 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005347/1.665, allocations: 4.751 MB / 0.838 GB, free: 94.79 MB / 0.5763 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.007393/1.673, allocations: 9.474 MB / 0.8473 GB, free: 85.86 MB / 0.5763 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01416/1.687, allocations: 15.34 MB / 0.8622 GB, free: 72.22 MB / 0.5763 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/1.687, allocations: 44 kB / 0.8623 GB, free: 72.18 MB / 0.5763 GB
Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01973/1.707, allocations: 15.4 MB / 0.8773 GB, free: 57.68 MB / 0.5763 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001211/1.707, allocations: 76.56 kB / 0.8774 GB, free: 57.61 MB / 0.5763 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002156/1.707, allocations: 156 kB / 0.8775 GB, free: 57.45 MB / 0.5763 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004971/1.712, allocations: 1.657 MB / 0.8792 GB, free: 55.79 MB / 0.5763 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00655/1.719, allocations: 2.364 MB / 0.8815 GB, free: 53.61 MB / 0.5763 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/1.731, allocations: 11.52 MB / 0.8927 GB, free: 42.07 MB / 0.5763 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006485/1.737, allocations: 1.377 MB / 0.8941 GB, free: 40.68 MB / 0.5763 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007768/1.738, allocations: 0.5417 MB / 0.8946 GB, free: 40.14 MB / 0.5763 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 728
 * 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 (1243):
 * Single equations (assignments): 1240
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 2
 * 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
   {(6,80,77.8%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.008628/1.747, allocations: 7.136 MB / 0.9016 GB, free: 33.17 MB / 0.5763 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.748, allocations: 0.6365 MB / 0.9022 GB, free: 32.53 MB / 0.5763 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/1.761, allocations: 10.08 MB / 0.912 GB, free: 22.38 MB / 0.5763 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009162/1.77, allocations: 7.767 MB / 0.9196 GB, free: 14.57 MB / 0.5763 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.052e-05/1.77, allocations: 12 kB / 0.9196 GB, free: 14.55 MB / 0.5763 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.07e-05/1.77, allocations: 27.89 kB / 0.9196 GB, free: 14.53 MB / 0.5763 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04094/1.811, allocations: 25.36 MB / 0.9444 GB, free: 5.207 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/1.811, allocations: 8 kB / 0.9444 GB, free: 5.199 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004058/1.815, allocations: 1.015 MB / 0.9454 GB, free: 4.234 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.00523/1.82, allocations: 1.468 MB / 0.9469 GB, free: 2.766 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003495/1.821, allocations: 132 kB / 0.947 GB, free: 2.637 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/1.837, allocations: 11.06 MB / 0.9578 GB, free: 7.496 MB / 0.6075 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.837, allocations: 15.66 kB / 0.9578 GB, free: 7.484 MB / 0.6075 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02253/1.86, allocations: 14.14 MB / 0.9716 GB, free: 9.043 MB / 0.6232 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.004129/1.864, allocations: 1.439 MB / 0.973 GB, free: 7.598 MB / 0.6232 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009207/1.865, allocations: 115.9 kB / 0.9731 GB, free: 7.484 MB / 0.6232 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/1.868, allocations: 317.7 kB / 0.9734 GB, free: 7.176 MB / 0.6232 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008323/1.868, allocations: 431.7 kB / 0.9738 GB, free: 6.758 MB / 0.6232 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000368/1.869, allocations: 174.7 kB / 0.974 GB, free: 6.59 MB / 0.6232 GB
Notification: Performance of sorting global known variables: time 0.006939/1.876, allocations: 4.305 MB / 0.9782 GB, free: 2.316 MB / 0.6232 GB
Notification: Performance of sort global known variables: time 1e-07/1.876, allocations: 0 / 0.9782 GB, free: 2.316 MB / 0.6232 GB
Notification: Performance of remove unused functions: time 0.2849/2.161, allocations: 4.09 MB / 0.9822 GB, free: 217.1 MB / 0.6232 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 36
 * Number of states: 1 (source.plug_p.reference.gamma)
 * 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 (528):
 * Single equations (assignments): 525
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 2
 * 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
   {(6,80,77.8%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.001894/2.163, allocations: 319.4 kB / 0.9825 GB, free: 217 MB / 0.6232 GB
Notification: Performance of simCode: created initialization part: time 0.02333/2.186, allocations: 10.96 MB / 0.9932 GB, free: 215.8 MB / 0.6232 GB
Notification: Performance of simCode: created event and clocks part: time 1.988e-05/2.186, allocations: 0 / 0.9932 GB, free: 215.8 MB / 0.6232 GB
Notification: Performance of simCode: created simulation system equations: time 0.01059/2.196, allocations: 4.348 MB / 0.9975 GB, free: 214.1 MB / 0.6232 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01277/2.209, allocations: 1.567 MB / 0.999 GB, free: 213.5 MB / 0.6232 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07795/2.287, allocations: 29.84 MB / 1.028 GB, free: 200.7 MB / 0.6232 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02695/2.314, allocations: 11.26 MB / 1.039 GB, free: 196.7 MB / 0.6232 GB
Notification: Performance of simCode: alias equations: time 0.01644/2.331, allocations: 3.77 MB / 1.043 GB, free: 195.3 MB / 0.6232 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003142/2.334, allocations: 0.5439 MB / 1.043 GB, free: 194.8 MB / 0.6232 GB
Notification: Performance of SimCode: time 1.473e-06/2.334, allocations: 0 / 1.043 GB, free: 194.8 MB / 0.6232 GB
Notification: Performance of Templates: time 0.236/2.57, allocations: 103.8 MB / 1.145 GB, free: 95.52 MB / 0.6232 GB
"
[Timeout remaining time 657]
make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.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: 10.316314498893917]