Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002134/0.002134, allocations: 178.8 kB / 8.363 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.975/1.975, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.00116, allocations: 88.02 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.24e-05/2.248e-05, allocations: 4 kB / 314.8 MB, free: 9.184 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3583, allocations: 47.56 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.264/1.623, allocations: 441.5 MB / 0.785 GB, free: 39.07 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/1.623, allocations: 63.78 kB / 0.7851 GB, free: 39.04 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08831/1.711, allocations: 24.39 MB / 0.8089 GB, free: 19.22 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.353e-06/1.711, allocations: 1.031 kB / 0.8089 GB, free: 19.22 MB / 427.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/1.711, allocations: 4 kB / 0.8089 GB, free: 19.21 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0011/1.712, allocations: 432 kB / 0.8093 GB, free: 18.76 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.712, allocations: 8.031 kB / 0.8093 GB, free: 18.75 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009912/1.722, allocations: 460.7 kB / 0.8098 GB, free: 18.34 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/1.723, allocations: 171 kB / 0.8099 GB, free: 18.13 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/1.723, allocations: 0 / 0.8099 GB, free: 18.13 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/1.723, allocations: 4 kB / 0.8099 GB, free: 18.12 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007414/1.723, allocations: 236.6 kB / 0.8102 GB, free: 17.97 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/1.724, allocations: 107.4 kB / 0.8103 GB, free: 17.88 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/1.724, allocations: 0 / 0.8103 GB, free: 17.88 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/1.724, allocations: 1.781 kB / 0.8103 GB, free: 17.88 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.724, allocations: 0 / 0.8103 GB, free: 17.88 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/1.725, allocations: 400.2 kB / 0.8106 GB, free: 17.5 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/1.727, allocations: 182 kB / 0.8108 GB, free: 17.36 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/1.727, allocations: 59.16 kB / 0.8109 GB, free: 17.32 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/1.727, allocations: 0 / 0.8109 GB, free: 17.32 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/1.727, allocations: 34.06 kB / 0.8109 GB, free: 17.28 MB / 427.1 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/1.727, allocations: 0 / 0.8109 GB, free: 17.28 MB / 427.1 MB Notification: Performance of matching and sorting (n=17): time 0.001778/1.729, allocations: 303.7 kB / 0.8112 GB, free: 17.04 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.729, allocations: 51.41 kB / 0.8112 GB, free: 16.98 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/1.729, allocations: 92.81 kB / 0.8113 GB, free: 16.88 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/1.729, allocations: 25.7 kB / 0.8114 GB, free: 16.85 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/1.729, allocations: 166.3 kB / 0.8115 GB, free: 16.69 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/1.729, allocations: 58.62 kB / 0.8116 GB, free: 16.64 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/1.729, allocations: 0 / 0.8116 GB, free: 16.64 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 6.491e-05/1.729, allocations: 314.8 kB / 0.8119 GB, free: 16.32 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/1.729, allocations: 61.73 kB / 0.8119 GB, free: 16.28 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/1.729, allocations: 93.78 kB / 0.812 GB, free: 16.2 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/1.73, allocations: 62.75 kB / 0.8121 GB, free: 16.16 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.73, allocations: 10.02 kB / 0.8121 GB, free: 16.15 MB / 427.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005074/1.73, allocations: 186 kB / 0.8123 GB, free: 16.01 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.73, allocations: 8 kB / 0.8123 GB, free: 16 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.73, allocations: 0 / 0.8123 GB, free: 16 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/1.73, allocations: 7.984 kB / 0.8123 GB, free: 15.99 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/1.731, allocations: 47.91 kB / 0.8123 GB, free: 15.95 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.731, allocations: 3.984 kB / 0.8123 GB, free: 15.94 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/1.731, allocations: 11.98 kB / 0.8123 GB, free: 15.93 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/1.731, allocations: 12.12 kB / 0.8124 GB, free: 15.92 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/1.732, allocations: 107.5 kB / 0.8125 GB, free: 15.81 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/1.732, allocations: 15.86 kB / 0.8125 GB, free: 15.79 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007975/1.732, allocations: 228.1 kB / 0.8127 GB, free: 15.61 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.732, allocations: 4 kB / 0.8127 GB, free: 15.61 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.732, allocations: 3.938 kB / 0.8127 GB, free: 15.61 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.924e-06/1.733, allocations: 3.984 kB / 0.8127 GB, free: 15.6 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/1.734, allocations: 497.5 kB / 0.8132 GB, free: 15.13 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/1.734, allocations: 8.047 kB / 0.8132 GB, free: 15.12 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/1.734, allocations: 46.28 kB / 0.8132 GB, free: 15.08 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.649e-06/1.734, allocations: 0 / 0.8132 GB, free: 15.08 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/1.734, allocations: 7.984 kB / 0.8132 GB, free: 15.07 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/1.734, allocations: 4 kB / 0.8132 GB, free: 15.07 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.735, allocations: 2.188 kB / 0.8132 GB, free: 15.07 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/1.735, allocations: 308.9 kB / 0.8135 GB, free: 14.78 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/1.735, allocations: 85.02 kB / 0.8136 GB, free: 14.68 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/1.735, allocations: 0 / 0.8136 GB, free: 14.68 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/1.736, allocations: 15.94 kB / 0.8136 GB, free: 14.66 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/1.736, allocations: 10.17 kB / 0.8136 GB, free: 14.66 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/1.736, allocations: 18.48 kB / 0.8137 GB, free: 14.64 MB / 427.1 MB Notification: Performance of sorting global known variables: time 3.538e-05/1.736, allocations: 83.28 kB / 0.8137 GB, free: 14.56 MB / 427.1 MB Notification: Performance of sort global known variables: time 8.32e-07/1.736, allocations: 0 / 0.8137 GB, free: 14.56 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0006022/1.736, allocations: 67.42 kB / 0.8138 GB, free: 14.51 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009248/1.737, allocations: 0.6002 MB / 0.8144 GB, free: 13.92 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0004895/1.738, allocations: 149.7 kB / 0.8145 GB, free: 13.82 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.738, allocations: 0 / 0.8145 GB, free: 13.82 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/1.738, allocations: 79.25 kB / 0.8146 GB, free: 13.76 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/1.739, allocations: 34.7 kB / 0.8146 GB, free: 13.73 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008373/1.739, allocations: 181.2 kB / 0.8148 GB, free: 13.54 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/1.74, allocations: 0.6971 MB / 0.8155 GB, free: 12.81 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/1.74, allocations: 42.89 kB / 0.8155 GB, free: 12.77 MB / 427.1 MB Notification: Performance of SimCode: time 1.743e-06/1.74, allocations: 0 / 0.8155 GB, free: 12.77 MB / 427.1 MB Notification: Performance of Templates: time 0.01122/1.751, allocations: 4.757 MB / 0.8202 GB, free: 8.012 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches