Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 185.9 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.91/1.91, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001142/0.001141, allocations: 91.25 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003766, allocations: 8 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3245, allocations: 47.56 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.414/1.738, allocations: 451.5 MB / 0.8066 GB, free: 119 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.738, allocations: 77.38 kB / 0.8067 GB, free: 119 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09955/1.838, allocations: 29.91 MB / 0.8359 GB, free: 116 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.838, allocations: 3.906 kB / 0.8359 GB, free: 116 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/1.838, allocations: 0 / 0.8359 GB, free: 116 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005175/1.839, allocations: 394 kB / 0.8363 GB, free: 115.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.839, allocations: 11.66 kB / 0.8363 GB, free: 115.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00274/1.841, allocations: 183.3 kB / 0.8365 GB, free: 115.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/1.842, allocations: 205 kB / 0.8367 GB, free: 115.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/1.842, allocations: 7.781 kB / 0.8367 GB, free: 115.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-05/1.842, allocations: 7.906 kB / 0.8367 GB, free: 115.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/1.843, allocations: 229.9 kB / 0.8369 GB, free: 115.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/1.843, allocations: 0.6875 kB / 0.8369 GB, free: 115.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/1.843, allocations: 1.219 kB / 0.8369 GB, free: 115.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.843, allocations: 2.062 kB / 0.8369 GB, free: 115.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007791/1.844, allocations: 170.9 kB / 0.8371 GB, free: 115.3 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.001334/1.845, allocations: 0.5712 MB / 0.8376 GB, free: 114.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/1.845, allocations: 136.8 kB / 0.8378 GB, free: 114.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/1.846, allocations: 2.188 kB / 0.8378 GB, free: 114.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/1.846, allocations: 35.97 kB / 0.8378 GB, free: 114.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/1.846, allocations: 4.562 kB / 0.8378 GB, free: 114.8 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.009262/1.855, allocations: 1.313 MB / 0.8391 GB, free: 114.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/1.855, allocations: 55.36 kB / 0.8391 GB, free: 114.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/1.855, allocations: 107.8 kB / 0.8392 GB, free: 114.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/1.855, allocations: 29.14 kB / 0.8393 GB, free: 114.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/1.855, allocations: 162.4 kB / 0.8394 GB, free: 113.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/1.855, allocations: 72.94 kB / 0.8395 GB, free: 113.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/1.855, allocations: 7.5 kB / 0.8395 GB, free: 113.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.91e-05/1.855, allocations: 314 kB / 0.8398 GB, free: 113.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/1.856, allocations: 70.95 kB / 0.8399 GB, free: 113.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/1.856, allocations: 100.2 kB / 0.84 GB, free: 113.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/1.856, allocations: 89.08 kB / 0.84 GB, free: 113.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.856, allocations: 0 / 0.84 GB, free: 113.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007286/1.857, allocations: 258.5 kB / 0.8403 GB, free: 113.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.857, allocations: 7.844 kB / 0.8403 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.857, allocations: 0 / 0.8403 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/1.857, allocations: 46.98 kB / 0.8403 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/1.858, allocations: 69.31 kB / 0.8404 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004536/1.858, allocations: 0.5602 MB / 0.8409 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/1.859, allocations: 7.562 kB / 0.841 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/1.859, allocations: 29.09 kB / 0.841 GB, free: 112.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001467/1.859, allocations: 124.9 kB / 0.8411 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/1.859, allocations: 15.8 kB / 0.8411 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/1.86, allocations: 341.6 kB / 0.8414 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/1.86, allocations: 3.906 kB / 0.8414 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.86, allocations: 0 / 0.8414 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.86, allocations: 0 / 0.8414 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/1.861, allocations: 0.6186 MB / 0.8421 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.861, allocations: 4.094 kB / 0.8421 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/1.862, allocations: 61.31 kB / 0.8421 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/1.862, allocations: 24.19 kB / 0.8421 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/1.862, allocations: 15.2 kB / 0.8422 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008413/1.863, allocations: 1.277 MB / 0.8434 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.863, allocations: 0 / 0.8434 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009984/1.864, allocations: 471.3 kB / 0.8438 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/1.864, allocations: 91.73 kB / 0.8439 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/1.864, allocations: 3.188 kB / 0.8439 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/1.864, allocations: 10.69 kB / 0.8439 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/1.865, allocations: 27.8 kB / 0.844 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/1.865, allocations: 29.88 kB / 0.844 GB, free: 110.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.733e-05/1.865, allocations: 85.53 kB / 0.8441 GB, free: 110.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.5e-07/1.865, allocations: 0 / 0.8441 GB, free: 110.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007021/1.865, allocations: 113.5 kB / 0.8442 GB, free: 110.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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.00107/1.867, allocations: 0.5527 MB / 0.8447 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000761/1.867, allocations: 199 kB / 0.8449 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.867, allocations: 4.188 kB / 0.8449 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004505/1.868, allocations: 220.6 kB / 0.8451 GB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/1.868, allocations: 41.58 kB / 0.8452 GB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/1.869, allocations: 0.5886 MB / 0.8458 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/1.87, allocations: 0.7173 MB / 0.8465 GB, free: 109.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003894/1.87, allocations: 52.5 kB / 0.8465 GB, free: 109.2 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/1.87, allocations: 0 / 0.8465 GB, free: 109.2 MB / 426.7 MB Notification: Performance of Templates: time 0.01225/1.882, allocations: 6.467 MB / 0.8528 GB, free: 106.8 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches