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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001204/0.001205, allocations: 86.7 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.841e-05/1.861e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 47.59 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/1.307, allocations: 437.5 MB / 0.7818 GB, free: 90.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/1.307, allocations: 94.61 kB / 0.7819 GB, free: 90.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5371/1.844, allocations: 140.1 MB / 0.9188 GB, free: 113.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.844, allocations: 0 / 0.9188 GB, free: 113.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.794e-05/1.844, allocations: 10.44 kB / 0.9188 GB, free: 113.7 MB / 426.7 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.001184/1.845, allocations: 0.5969 MB / 0.9194 GB, free: 113.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.845, allocations: 7.875 kB / 0.9194 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003792/1.846, allocations: 36.41 kB / 0.9194 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/1.846, allocations: 286.2 kB / 0.9197 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/1.846, allocations: 6.656 kB / 0.9197 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/1.846, allocations: 14.72 kB / 0.9197 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003237/1.847, allocations: 178.3 kB / 0.9199 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/1.847, allocations: 275.7 kB / 0.9201 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.847, allocations: 0 / 0.9201 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/1.847, allocations: 3.609 kB / 0.9201 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.847, allocations: 6.656 kB / 0.9201 GB, free: 112.7 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001664/1.849, allocations: 1.555 MB / 0.9216 GB, free: 111.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/1.849, allocations: 146.8 kB / 0.9218 GB, free: 111.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/1.849, allocations: 79.81 kB / 0.9219 GB, free: 111.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/1.849, allocations: 0 / 0.9219 GB, free: 111.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/1.849, allocations: 41.72 kB / 0.9219 GB, free: 111.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/1.849, allocations: 0 / 0.9219 GB, free: 111.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.003922/1.853, allocations: 0.9966 MB / 0.9229 GB, free: 110.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/1.853, allocations: 55.22 kB / 0.9229 GB, free: 110.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/1.853, allocations: 201 kB / 0.9231 GB, free: 110.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/1.853, allocations: 25.7 kB / 0.9231 GB, free: 110.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/1.854, allocations: 186.2 kB / 0.9233 GB, free: 110 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/1.854, allocations: 84.69 kB / 0.9234 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/1.854, allocations: 0 / 0.9234 GB, free: 109.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.746e-05/1.854, allocations: 338 kB / 0.9237 GB, free: 109.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/1.854, allocations: 77.2 kB / 0.9238 GB, free: 109.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/1.854, allocations: 170.3 kB / 0.924 GB, free: 109.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/1.854, allocations: 109.9 kB / 0.9241 GB, free: 109.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.854, allocations: 0 / 0.9241 GB, free: 109.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005394/1.855, allocations: 361 kB / 0.9244 GB, free: 109.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.855, allocations: 3.875 kB / 0.9244 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.855, allocations: 3.906 kB / 0.9244 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/1.855, allocations: 64.72 kB / 0.9245 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/1.855, allocations: 89.42 kB / 0.9246 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/1.856, allocations: 1.81 MB / 0.9263 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/1.857, allocations: 15.62 kB / 0.9263 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/1.857, allocations: 43.02 kB / 0.9264 GB, free: 107.3 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001123/1.857, allocations: 116.7 kB / 0.9265 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/1.857, allocations: 22.47 kB / 0.9265 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/1.858, allocations: 343.8 kB / 0.9269 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/1.858, allocations: 3.812 kB / 0.9269 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.858, allocations: 7.938 kB / 0.9269 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003966/1.858, allocations: 0.5439 MB / 0.9274 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008933/1.859, allocations: 0.6569 MB / 0.928 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.859, allocations: 0 / 0.928 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/1.859, allocations: 75.98 kB / 0.9281 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.681e-05/1.859, allocations: 16.53 kB / 0.9281 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/1.859, allocations: 14.84 kB / 0.9281 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006552/1.86, allocations: 1.236 MB / 0.9293 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.86, allocations: 3.938 kB / 0.9293 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/1.861, allocations: 472.9 kB / 0.9298 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/1.861, allocations: 96.58 kB / 0.9299 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/1.861, allocations: 3.984 kB / 0.9299 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/1.861, allocations: 10.66 kB / 0.9299 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/1.861, allocations: 31.42 kB / 0.9299 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/1.861, allocations: 30.77 kB / 0.93 GB, free: 104.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001297/1.861, allocations: 154.2 kB / 0.9301 GB, free: 104.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.861, allocations: 0 / 0.9301 GB, free: 104.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007381/1.862, allocations: 168.2 kB / 0.9303 GB, free: 104 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/1.864, allocations: 0.9103 MB / 0.9312 GB, free: 103.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006182/1.864, allocations: 334.6 kB / 0.9315 GB, free: 103.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.864, allocations: 0 / 0.9315 GB, free: 103.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/1.864, allocations: 234.7 kB / 0.9317 GB, free: 103.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/1.865, allocations: 116.8 kB / 0.9318 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008707/1.866, allocations: 478.2 kB / 0.9323 GB, free: 103 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/1.866, allocations: 0.7686 MB / 0.933 GB, free: 102.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000547/1.867, allocations: 110.4 kB / 0.9331 GB, free: 102.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/1.867, allocations: 68.66 kB / 0.9332 GB, free: 102.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.783e-06/1.867, allocations: 0 / 0.9332 GB, free: 102.2 MB / 426.7 MB Notification: Performance of Templates: time 0.01601/1.883, allocations: 11.15 MB / 0.9441 GB, free: 93.93 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches