Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001478/0.001478, allocations: 185.2 kB / 16.41 MB, free: 5.727 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.869/1.869, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001095/0.001095, allocations: 91.61 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 12 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3222, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.417, allocations: 438 MB / 0.7935 GB, free: 10.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/1.417, allocations: 101.4 kB / 0.7936 GB, free: 10.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6998/2.117, allocations: 142.2 MB / 0.9325 GB, free: 43.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.973e-06/2.117, allocations: 0 / 0.9325 GB, free: 43.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.156e-05/2.117, allocations: 16 kB / 0.9325 GB, free: 43.31 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.001158/2.118, allocations: 0.6206 MB / 0.9331 GB, free: 42.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/2.118, allocations: 8.031 kB / 0.9331 GB, free: 42.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/2.119, allocations: 39.62 kB / 0.9332 GB, free: 42.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/2.119, allocations: 286.8 kB / 0.9334 GB, free: 42.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/2.119, allocations: 16.56 kB / 0.9334 GB, free: 42.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/2.119, allocations: 24 kB / 0.9335 GB, free: 42.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006277/2.12, allocations: 319.6 kB / 0.9338 GB, free: 41.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/2.12, allocations: 3.953 kB / 0.9338 GB, free: 41.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/2.12, allocations: 12 kB / 0.9338 GB, free: 41.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/2.12, allocations: 8 kB / 0.9338 GB, free: 41.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/2.12, allocations: 209.5 kB / 0.934 GB, free: 41.67 MB / 426.7 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.002042/2.122, allocations: 1.57 MB / 0.9355 GB, free: 39.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/2.123, allocations: 175.1 kB / 0.9357 GB, free: 39.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.223e-05/2.123, allocations: 4.188 kB / 0.9357 GB, free: 39.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/2.123, allocations: 38.69 kB / 0.9357 GB, free: 39.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.374e-06/2.123, allocations: 0 / 0.9357 GB, free: 39.71 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.008689/2.132, allocations: 1.627 MB / 0.9373 GB, free: 37.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/2.132, allocations: 59.39 kB / 0.9374 GB, free: 37.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/2.132, allocations: 228 kB / 0.9376 GB, free: 37.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/2.132, allocations: 37.69 kB / 0.9376 GB, free: 37.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/2.132, allocations: 222.7 kB / 0.9379 GB, free: 37.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/2.132, allocations: 98.59 kB / 0.9379 GB, free: 37.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/2.132, allocations: 4 kB / 0.9379 GB, free: 37.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.152e-05/2.132, allocations: 326.8 kB / 0.9383 GB, free: 36.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/2.133, allocations: 91.97 kB / 0.9383 GB, free: 36.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/2.133, allocations: 183.7 kB / 0.9385 GB, free: 36.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/2.133, allocations: 116 kB / 0.9386 GB, free: 36.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/2.133, allocations: 4 kB / 0.9386 GB, free: 36.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008508/2.134, allocations: 375.4 kB / 0.939 GB, free: 36.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/2.134, allocations: 7.953 kB / 0.939 GB, free: 36.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/2.134, allocations: 4 kB / 0.939 GB, free: 36.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/2.134, allocations: 82.08 kB / 0.9391 GB, free: 36.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/2.135, allocations: 79.84 kB / 0.9392 GB, free: 35.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/2.136, allocations: 1.856 MB / 0.941 GB, free: 33.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/2.137, allocations: 19.94 kB / 0.941 GB, free: 33.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/2.137, allocations: 44.27 kB / 0.941 GB, free: 33.91 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 () * 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 (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.0002308/2.137, allocations: 165.6 kB / 0.9412 GB, free: 33.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-05/2.137, allocations: 23.72 kB / 0.9412 GB, free: 33.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/2.139, allocations: 448.7 kB / 0.9416 GB, free: 33.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/2.139, allocations: 0 / 0.9416 GB, free: 33.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/2.139, allocations: 7.938 kB / 0.9417 GB, free: 33.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006242/2.139, allocations: 0.5552 MB / 0.9422 GB, free: 32.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/2.141, allocations: 0.729 MB / 0.9429 GB, free: 31.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/2.141, allocations: 0 / 0.9429 GB, free: 31.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/2.141, allocations: 63.95 kB / 0.943 GB, free: 31.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/2.141, allocations: 32.84 kB / 0.943 GB, free: 31.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/2.141, allocations: 15.98 kB / 0.943 GB, free: 31.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008226/2.142, allocations: 1.284 MB / 0.9443 GB, free: 30.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/2.142, allocations: 0 / 0.9443 GB, free: 30.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009244/2.143, allocations: 0.4902 MB / 0.9447 GB, free: 29.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/2.143, allocations: 108.8 kB / 0.9448 GB, free: 29.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/2.143, allocations: 8 kB / 0.9449 GB, free: 29.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/2.144, allocations: 15.98 kB / 0.9449 GB, free: 29.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/2.144, allocations: 31.8 kB / 0.9449 GB, free: 29.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.19e-05/2.144, allocations: 31.98 kB / 0.9449 GB, free: 29.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002328/2.144, allocations: 186 kB / 0.9451 GB, free: 29.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.9e-07/2.144, allocations: 4.062 kB / 0.9451 GB, free: 29.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009675/2.145, allocations: 183.9 kB / 0.9453 GB, free: 29.17 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 () * 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 (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.001372/2.147, allocations: 0.7654 MB / 0.946 GB, free: 28.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008724/2.147, allocations: 371.3 kB / 0.9464 GB, free: 28.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/2.147, allocations: 7.938 kB / 0.9464 GB, free: 28.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003612/2.148, allocations: 226.5 kB / 0.9466 GB, free: 27.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/2.149, allocations: 174.2 kB / 0.9468 GB, free: 27.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/2.151, allocations: 0.8504 MB / 0.9476 GB, free: 26.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/2.151, allocations: 0.7803 MB / 0.9484 GB, free: 25.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/2.151, allocations: 71.41 kB / 0.9484 GB, free: 25.86 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/2.151, allocations: 0 / 0.9484 GB, free: 25.86 MB / 426.7 MB Notification: Performance of Templates: time 0.01912/2.171, allocations: 11.49 MB / 0.9597 GB, free: 14.35 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches