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.001531/0.001531, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008051/0.0008049, allocations: 90.58 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.941e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 47.57 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.317, allocations: 437.9 MB / 0.789 GB, free: 67.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/1.317, allocations: 92.31 kB / 0.7891 GB, free: 67.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5221/1.839, allocations: 141.8 MB / 0.9276 GB, free: 98.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/1.839, allocations: 0 / 0.9276 GB, free: 98.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/1.839, allocations: 8 kB / 0.9276 GB, free: 98.14 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.0009593/1.84, allocations: 0.5969 MB / 0.9282 GB, free: 97.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.84, allocations: 8.031 kB / 0.9282 GB, free: 97.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/1.841, allocations: 39.7 kB / 0.9282 GB, free: 97.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/1.841, allocations: 278.5 kB / 0.9285 GB, free: 97.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/1.841, allocations: 16.56 kB / 0.9285 GB, free: 97.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/1.841, allocations: 24 kB / 0.9285 GB, free: 97.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/1.842, allocations: 311.7 kB / 0.9288 GB, free: 96.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/1.842, allocations: 0 / 0.9288 GB, free: 96.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/1.842, allocations: 12 kB / 0.9288 GB, free: 96.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.842, allocations: 8 kB / 0.9288 GB, free: 96.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/1.842, allocations: 201.6 kB / 0.929 GB, free: 96.55 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.001382/1.843, allocations: 1.577 MB / 0.9306 GB, free: 94.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/1.844, allocations: 163.1 kB / 0.9307 GB, free: 94.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/1.844, allocations: 101.2 kB / 0.9308 GB, free: 94.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/1.844, allocations: 8.172 kB / 0.9308 GB, free: 94.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/1.844, allocations: 30.75 kB / 0.9309 GB, free: 94.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/1.844, allocations: 0 / 0.9309 GB, free: 94.5 MB / 426.7 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.004527/1.848, allocations: 1.239 MB / 0.9321 GB, free: 93.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/1.848, allocations: 67.39 kB / 0.9321 GB, free: 93.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/1.849, allocations: 225 kB / 0.9323 GB, free: 92.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/1.849, allocations: 29.7 kB / 0.9324 GB, free: 92.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/1.849, allocations: 183.9 kB / 0.9325 GB, free: 92.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/1.849, allocations: 90.66 kB / 0.9326 GB, free: 92.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/1.849, allocations: 4 kB / 0.9326 GB, free: 92.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.642e-05/1.849, allocations: 334.8 kB / 0.933 GB, free: 92.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/1.849, allocations: 84 kB / 0.933 GB, free: 92.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/1.849, allocations: 184.1 kB / 0.9332 GB, free: 91.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/1.849, allocations: 120.4 kB / 0.9333 GB, free: 91.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.849, allocations: 4 kB / 0.9333 GB, free: 91.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005565/1.85, allocations: 394.7 kB / 0.9337 GB, free: 91.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.85, allocations: 11.98 kB / 0.9337 GB, free: 91.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.85, allocations: 4 kB / 0.9337 GB, free: 91.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002208/1.85, allocations: 78.09 kB / 0.9338 GB, free: 91.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/1.851, allocations: 83.89 kB / 0.9339 GB, free: 91.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/1.852, allocations: 1.856 MB / 0.9357 GB, free: 89.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/1.852, allocations: 15.98 kB / 0.9357 GB, free: 89.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/1.852, allocations: 43.98 kB / 0.9357 GB, free: 89.16 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 9.822e-05/1.852, allocations: 129.3 kB / 0.9359 GB, free: 89.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/1.852, allocations: 31.7 kB / 0.9359 GB, free: 88.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008275/1.853, allocations: 439.6 kB / 0.9363 GB, free: 88.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.853, allocations: 4 kB / 0.9363 GB, free: 88.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/1.853, allocations: 4 kB / 0.9363 GB, free: 88.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004361/1.853, allocations: 0.563 MB / 0.9369 GB, free: 87.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008264/1.854, allocations: 0.7171 MB / 0.9376 GB, free: 87.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.854, allocations: 3.938 kB / 0.9376 GB, free: 87.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/1.854, allocations: 71.89 kB / 0.9376 GB, free: 87.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.445e-05/1.855, allocations: 24.91 kB / 0.9377 GB, free: 87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/1.855, allocations: 15.98 kB / 0.9377 GB, free: 86.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006036/1.855, allocations: 1.276 MB / 0.9389 GB, free: 85.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.855, allocations: 0 / 0.9389 GB, free: 85.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/1.856, allocations: 493.5 kB / 0.9394 GB, free: 85.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/1.856, allocations: 109 kB / 0.9395 GB, free: 84.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/1.856, allocations: 4 kB / 0.9395 GB, free: 84.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/1.856, allocations: 15.98 kB / 0.9395 GB, free: 84.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/1.856, allocations: 23.97 kB / 0.9396 GB, free: 84.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/1.856, allocations: 31.98 kB / 0.9396 GB, free: 84.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001415/1.856, allocations: 183.1 kB / 0.9398 GB, free: 84.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.856, allocations: 4 kB / 0.9398 GB, free: 84.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007435/1.857, allocations: 187.9 kB / 0.9399 GB, free: 84.49 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.001039/1.858, allocations: 0.7648 MB / 0.9407 GB, free: 83.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000536/1.859, allocations: 379 kB / 0.941 GB, free: 83.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.859, allocations: 0 / 0.941 GB, free: 83.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/1.859, allocations: 234.6 kB / 0.9413 GB, free: 83.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000821/1.86, allocations: 164.5 kB / 0.9414 GB, free: 82.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007508/1.861, allocations: 498.8 kB / 0.9419 GB, free: 82.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/1.861, allocations: 0.7648 MB / 0.9427 GB, free: 81.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004909/1.861, allocations: 110.9 kB / 0.9428 GB, free: 81.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/1.861, allocations: 71.41 kB / 0.9428 GB, free: 81.45 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/1.861, allocations: 3.938 kB / 0.9428 GB, free: 81.44 MB / 426.7 MB Notification: Performance of Templates: time 0.02329/1.885, allocations: 19.74 MB / 0.9621 GB, free: 61.68 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