Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002332/0.002331, allocations: 186 kB / 16.4 MB, free: 5.746 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.99/1.99, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001115/0.001115, allocations: 100.9 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5267/0.5267, allocations: 43.54 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004586, allocations: 12 kB / 431.4 MB, free: 6.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.13, allocations: 58.86 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.625/1.755, allocations: 461.3 MB / 0.9292 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/1.756, allocations: 73.28 kB / 0.9293 GB, free: 116 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09872/1.854, allocations: 29.92 MB / 0.9585 GB, free: 91.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.595e-06/1.854, allocations: 0 / 0.9585 GB, free: 91.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.211e-05/1.854, allocations: 0 / 0.9585 GB, free: 91.03 MB / 0.4948 GB 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.0004898/1.855, allocations: 398.7 kB / 0.9589 GB, free: 90.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/1.855, allocations: 11.97 kB / 0.9589 GB, free: 90.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/1.858, allocations: 186.1 kB / 0.9591 GB, free: 90.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/1.858, allocations: 200.9 kB / 0.9592 GB, free: 90.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.858, allocations: 6.5 kB / 0.9593 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/1.858, allocations: 10.27 kB / 0.9593 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/1.859, allocations: 222.8 kB / 0.9595 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/1.859, allocations: 0 / 0.9595 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/1.859, allocations: 3.125 kB / 0.9595 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/1.859, allocations: 7.938 kB / 0.9595 GB, free: 90.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006981/1.86, allocations: 171.5 kB / 0.9597 GB, free: 89.89 MB / 0.4948 GB 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.00121/1.861, allocations: 0.5761 MB / 0.9602 GB, free: 89.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/1.861, allocations: 138.1 kB / 0.9603 GB, free: 89.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/1.861, allocations: 7.984 kB / 0.9604 GB, free: 89.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/1.861, allocations: 39.28 kB / 0.9604 GB, free: 89.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 2.364e-06/1.861, allocations: 0 / 0.9604 GB, free: 89.16 MB / 0.4948 GB 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.008445/1.87, allocations: 1.306 MB / 0.9617 GB, free: 87.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/1.87, allocations: 51.41 kB / 0.9617 GB, free: 87.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/1.87, allocations: 112.2 kB / 0.9618 GB, free: 87.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/1.87, allocations: 32.77 kB / 0.9619 GB, free: 87.76 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/1.87, allocations: 157.7 kB / 0.962 GB, free: 87.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.286e-05/1.87, allocations: 69.44 kB / 0.9621 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/1.87, allocations: 7.062 kB / 0.9621 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.873e-05/1.87, allocations: 314.3 kB / 0.9624 GB, free: 87.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/1.871, allocations: 76.28 kB / 0.9625 GB, free: 87.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/1.871, allocations: 101.7 kB / 0.9625 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/1.871, allocations: 87.55 kB / 0.9626 GB, free: 87.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.871, allocations: 0 / 0.9626 GB, free: 87.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007362/1.872, allocations: 259.2 kB / 0.9629 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.872, allocations: 14.7 kB / 0.9629 GB, free: 86.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/1.872, allocations: 0 / 0.9629 GB, free: 86.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/1.872, allocations: 52.23 kB / 0.9629 GB, free: 86.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/1.873, allocations: 55.91 kB / 0.963 GB, free: 86.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004289/1.873, allocations: 0.5625 MB / 0.9635 GB, free: 86.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/1.874, allocations: 7.969 kB / 0.9636 GB, free: 86.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/1.874, allocations: 23.98 kB / 0.9636 GB, free: 86.12 MB / 0.4948 GB 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.0001468/1.874, allocations: 133.6 kB / 0.9637 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/1.874, allocations: 11.91 kB / 0.9637 GB, free: 85.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/1.875, allocations: 355.8 kB / 0.9641 GB, free: 85.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.875, allocations: 4 kB / 0.9641 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.875, allocations: 0 / 0.9641 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.875, allocations: 0 / 0.9641 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/1.876, allocations: 0.6218 MB / 0.9647 GB, free: 85.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.876, allocations: 0 / 0.9647 GB, free: 85.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/1.877, allocations: 59.45 kB / 0.9647 GB, free: 85.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/1.877, allocations: 16.84 kB / 0.9647 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/1.877, allocations: 15.11 kB / 0.9648 GB, free: 85.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008519/1.878, allocations: 1.279 MB / 0.966 GB, free: 83.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.878, allocations: 0 / 0.966 GB, free: 83.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/1.879, allocations: 469.2 kB / 0.9664 GB, free: 83.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/1.879, allocations: 81.02 kB / 0.9665 GB, free: 83.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/1.879, allocations: 8 kB / 0.9665 GB, free: 83.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/1.88, allocations: 11.98 kB / 0.9665 GB, free: 83.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/1.88, allocations: 35.92 kB / 0.9666 GB, free: 83.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/1.88, allocations: 24 kB / 0.9666 GB, free: 83.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.259e-05/1.88, allocations: 87.27 kB / 0.9667 GB, free: 82.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-07/1.88, allocations: 0 / 0.9667 GB, free: 82.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000701/1.881, allocations: 123.9 kB / 0.9668 GB, free: 82.85 MB / 0.4948 GB 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.001013/1.882, allocations: 0.5345 MB / 0.9673 GB, free: 82.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007434/1.882, allocations: 195.8 kB / 0.9675 GB, free: 82.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.882, allocations: 4.188 kB / 0.9675 GB, free: 82.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004407/1.883, allocations: 227.7 kB / 0.9677 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/1.883, allocations: 46.64 kB / 0.9678 GB, free: 81.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/1.884, allocations: 0.5882 MB / 0.9684 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/1.885, allocations: 0.7127 MB / 0.969 GB, free: 80.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/1.885, allocations: 51.41 kB / 0.9691 GB, free: 80.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.123e-06/1.885, allocations: 0 / 0.9691 GB, free: 80.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.01221/1.897, allocations: 6.453 MB / 0.9754 GB, free: 73.97 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches