Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.00134/0.00134, allocations: 106 kB / 21.18 MB, free: 0.707 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.001402/0.001402, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.478/1.478, 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.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen")
translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") [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.001708/0.001708, allocations: 47.92 kB / 347.7 MB, free: 9.527 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3038, allocations: 49.16 MB / 396.8 MB, free: 9.539 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2444/0.5482, allocations: 173.5 MB / 0.5569 GB, free: 5.336 MB / 478.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00594/0.5542, allocations: 3.248 MB / 0.5601 GB, free: 2.074 MB / 478.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.5546, allocations: 7.938 kB / 0.5601 GB, free: 2.066 MB / 478.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000799/0.5554, allocations: 178.9 kB / 0.5603 GB, free: 1.891 MB / 478.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001279/0.5567, allocations: 413.5 kB / 0.5607 GB, free: 1.488 MB / 478.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.5578, allocations: 351.3 kB / 0.561 GB, free: 1.145 MB / 478.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001431/0.5592, allocations: 0.911 MB / 0.5619 GB, free: 236 kB / 478.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.5594, allocations: 76.88 kB / 0.562 GB, free: 160 kB / 478.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.3039/0.8634, allocations: 0.8059 MB / 0.5628 GB, free: 2.531 MB / 478.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004814/0.8638, allocations: 287.2 kB / 0.563 GB, free: 2.531 MB / 478.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.296e-05/0.8639, allocations: 30.31 kB / 0.5631 GB, free: 2.531 MB / 478.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.8643, allocations: 122.7 kB / 0.5632 GB, free: 2.531 MB / 478.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.8644, allocations: 102.9 kB / 0.5633 GB, free: 2.531 MB / 478.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.8647, allocations: 184.7 kB / 0.5635 GB, free: 2.531 MB / 478.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007282/0.8654, allocations: 0.5194 MB / 0.564 GB, free: 2.508 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8654, allocations: 3 kB / 0.564 GB, free: 2.508 MB / 478.1 MB
Notification: Performance of FrontEnd: time 1.933e-06/0.8654, allocations: 0.75 kB / 0.564 GB, free: 2.508 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 7.684e-06/0.8654, allocations: 1.031 kB / 0.564 GB, free: 2.508 MB / 478.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 60
 * Number of variables: 60
Notification: Performance of Generate backend data structure: time 0.001047/0.8665, allocations: 0.5188 MB / 0.5645 GB, free: 18.16 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8665, allocations: 13.02 kB / 0.5645 GB, free: 18.16 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/0.8668, allocations: 44.66 kB / 0.5645 GB, free: 18.14 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.8673, allocations: 226.2 kB / 0.5648 GB, free: 18 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.8673, allocations: 22.81 kB / 0.5648 GB, free: 18 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.8673, allocations: 22.19 kB / 0.5648 GB, free: 18 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.8679, allocations: 319.6 kB / 0.5651 GB, free: 17.9 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.8679, allocations: 0.6562 kB / 0.5651 GB, free: 17.9 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.868, allocations: 13.52 kB / 0.5651 GB, free: 17.9 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.868, allocations: 6.031 kB / 0.5651 GB, free: 17.9 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.8683, allocations: 208.4 kB / 0.5653 GB, free: 17.9 MB / 494.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.8704, allocations: 1.556 MB / 0.5668 GB, free: 16.75 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.8708, allocations: 164.6 kB / 0.567 GB, free: 16.72 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.871, allocations: 87.78 kB / 0.5671 GB, free: 16.71 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.871, allocations: 8.469 kB / 0.5671 GB, free: 16.71 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.871, allocations: 34.66 kB / 0.5671 GB, free: 16.68 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.871, allocations: 2.047 kB / 0.5671 GB, free: 16.68 MB / 494.1 MB
Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
========================================
1: volume.medium.T
Please use -d=bltdump for more information.
Notification: Performance of matching and sorting (n=27): time 0.005596/0.8766, allocations: 1.318 MB / 0.5684 GB, free: 16.34 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.8767, allocations: 62.12 kB / 0.5685 GB, free: 16.27 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.877, allocations: 251.3 kB / 0.5687 GB, free: 16.16 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.877, allocations: 35.39 kB / 0.5687 GB, free: 16.13 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.8771, allocations: 176 kB / 0.5689 GB, free: 16.01 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/0.8772, allocations: 105.8 kB / 0.569 GB, free: 15.94 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.8773, allocations: 79.55 kB / 0.5691 GB, free: 15.93 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001595/0.8775, allocations: 340.7 kB / 0.5694 GB, free: 15.61 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.8776, allocations: 93.72 kB / 0.5695 GB, free: 15.61 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.8779, allocations: 189.6 kB / 0.5697 GB, free: 15.5 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.8783, allocations: 299.2 kB / 0.57 GB, free: 15.39 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8783, allocations: 5.25 kB / 0.57 GB, free: 15.39 MB / 494.1 MB
Notification: Performance of matching and sorting (n=42) (initialization): time 0.000672/0.879, allocations: 406.5 kB / 0.5704 GB, free: 15.31 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.879, allocations: 6.031 kB / 0.5704 GB, free: 15.31 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.879, allocations: 8.375 kB / 0.5704 GB, free: 15.3 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/0.8792, allocations: 77.41 kB / 0.5704 GB, free: 15.29 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.8796, allocations: 84.55 kB / 0.5705 GB, free: 15.29 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.8812, allocations: 1.848 MB / 0.5723 GB, free: 13.56 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.8814, allocations: 7.812 kB / 0.5723 GB, free: 13.56 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/0.8815, allocations: 42.58 kB / 0.5724 GB, free: 13.56 MB / 494.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * 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 (40):
 * Single equations (assignments): 38
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(1,1), (1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.8817, allocations: 156.6 kB / 0.5725 GB, free: 13.44 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.8818, allocations: 31.09 kB / 0.5726 GB, free: 13.43 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008982/0.8827, allocations: 443.1 kB / 0.573 GB, free: 13.34 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.8827, allocations: 3.406 kB / 0.573 GB, free: 13.34 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.8827, allocations: 0.6875 kB / 0.573 GB, free: 13.34 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006499/0.8833, allocations: 0.5616 MB / 0.5735 GB, free: 12.89 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.8844, allocations: 0.6955 MB / 0.5742 GB, free: 12.6 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.8844, allocations: 1.125 kB / 0.5742 GB, free: 12.6 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.8847, allocations: 72.28 kB / 0.5743 GB, free: 12.6 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.382e-05/0.8848, allocations: 24.12 kB / 0.5743 GB, free: 12.59 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.8849, allocations: 15.09 kB / 0.5743 GB, free: 12.59 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.8859, allocations: 1.279 MB / 0.5756 GB, free: 11.38 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.8859, allocations: 3.969 kB / 0.5756 GB, free: 11.38 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.8866, allocations: 478.2 kB / 0.576 GB, free: 11.2 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.8866, allocations: 30.61 kB / 0.5761 GB, free: 11.18 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.8867, allocations: 6 kB / 0.5761 GB, free: 11.18 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.8869, allocations: 10.94 kB / 0.5761 GB, free: 11.18 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.887, allocations: 31.98 kB / 0.5761 GB, free: 11.18 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.887, allocations: 35.22 kB / 0.5761 GB, free: 11.18 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.000224/0.8872, allocations: 183.5 kB / 0.5763 GB, free: 11.09 MB / 494.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.8872, allocations: 0.8125 kB / 0.5763 GB, free: 11.09 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.0005936/0.8878, allocations: 128.6 kB / 0.5764 GB, free: 11.09 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 2 (volume.medium.p,volume.medium.T)
 * 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 (26):
 * Single equations (assignments): 25
 * 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,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003715/0.8882, allocations: 151.8 kB / 0.5766 GB, free: 10.99 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.000706/0.8889, allocations: 369.8 kB / 0.5769 GB, free: 10.88 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8889, allocations: 1.844 kB / 0.5769 GB, free: 10.88 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.8892, allocations: 229.9 kB / 0.5772 GB, free: 10.77 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.8901, allocations: 160.8 kB / 0.5773 GB, free: 10.75 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.8912, allocations: 0.6976 MB / 0.578 GB, free: 10.45 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.8916, allocations: 0.7672 MB / 0.5787 GB, free: 9.754 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0004249/0.8921, allocations: 112.2 kB / 0.5788 GB, free: 9.742 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.8922, allocations: 65.8 kB / 0.5789 GB, free: 9.734 MB / 494.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.8922, allocations: 0 / 0.5789 GB, free: 9.734 MB / 494.1 MB
Notification: Performance of Templates: time 0.01498/0.9072, allocations: 9.019 MB / 0.5877 GB, free: 9.211 MB / 494.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.423252115026116]