Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001495/0.001495, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008799/0.0008799, allocations: 78.73 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.524e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 47.58 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.527/1.639, allocations: 441.8 MB / 0.786 GB, free: 86.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/1.64, allocations: 63.97 kB / 0.786 GB, free: 86.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05152/1.691, allocations: 24.39 MB / 0.8098 GB, free: 61.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.006e-06/1.691, allocations: 4 kB / 0.8099 GB, free: 61.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/1.691, allocations: 4 kB / 0.8099 GB, free: 61.6 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008037/1.692, allocations: 430.8 kB / 0.8103 GB, free: 61.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.692, allocations: 8.031 kB / 0.8103 GB, free: 61.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005579/1.698, allocations: 463.3 kB / 0.8107 GB, free: 60.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.309e-05/1.698, allocations: 167 kB / 0.8109 GB, free: 60.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/1.698, allocations: 0 / 0.8109 GB, free: 60.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/1.698, allocations: 4 kB / 0.8109 GB, free: 60.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004364/1.698, allocations: 235.8 kB / 0.8111 GB, free: 60.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/1.699, allocations: 109.6 kB / 0.8112 GB, free: 60.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/1.699, allocations: 0 / 0.8112 GB, free: 60.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/1.699, allocations: 0 / 0.8112 GB, free: 60.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.699, allocations: 0 / 0.8112 GB, free: 60.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009125/1.7, allocations: 401.3 kB / 0.8116 GB, free: 59.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/1.7, allocations: 186.5 kB / 0.8118 GB, free: 59.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/1.7, allocations: 56.84 kB / 0.8118 GB, free: 59.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/1.7, allocations: 3.984 kB / 0.8118 GB, free: 59.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/1.7, allocations: 38.5 kB / 0.8119 GB, free: 59.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/1.7, allocations: 0 / 0.8119 GB, free: 59.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.00101/1.701, allocations: 293.3 kB / 0.8121 GB, free: 59.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/1.702, allocations: 51.41 kB / 0.8122 GB, free: 59.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/1.702, allocations: 92.98 kB / 0.8123 GB, free: 58.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/1.702, allocations: 25.7 kB / 0.8123 GB, free: 58.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/1.702, allocations: 99.89 kB / 0.8124 GB, free: 58.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/1.702, allocations: 51.2 kB / 0.8124 GB, free: 58.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/1.702, allocations: 0 / 0.8124 GB, free: 58.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.495e-05/1.702, allocations: 322.8 kB / 0.8128 GB, free: 58.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/1.702, allocations: 56.38 kB / 0.8128 GB, free: 58.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/1.702, allocations: 92.83 kB / 0.8129 GB, free: 58.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.268e-05/1.702, allocations: 67.31 kB / 0.813 GB, free: 58.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.702, allocations: 3.953 kB / 0.813 GB, free: 58.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002917/1.702, allocations: 189.4 kB / 0.8131 GB, free: 58.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.702, allocations: 8 kB / 0.8132 GB, free: 58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.702, allocations: 4 kB / 0.8132 GB, free: 58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.702, allocations: 4 kB / 0.8132 GB, free: 58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/1.703, allocations: 51.95 kB / 0.8132 GB, free: 57.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/1.703, allocations: 3.938 kB / 0.8132 GB, free: 57.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/1.703, allocations: 16.11 kB / 0.8132 GB, free: 57.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/1.703, allocations: 11.98 kB / 0.8132 GB, free: 57.91 MB / 426.7 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.0001196/1.703, allocations: 101 kB / 0.8133 GB, free: 57.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/1.703, allocations: 15.86 kB / 0.8134 GB, free: 57.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004868/1.704, allocations: 230.1 kB / 0.8136 GB, free: 57.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/1.704, allocations: 7.938 kB / 0.8136 GB, free: 57.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.704, allocations: 0 / 0.8136 GB, free: 57.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/1.704, allocations: 0 / 0.8136 GB, free: 57.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007464/1.705, allocations: 0.5009 MB / 0.8141 GB, free: 57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.705, allocations: 0 / 0.8141 GB, free: 57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/1.705, allocations: 47.89 kB / 0.8141 GB, free: 56.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/1.705, allocations: 0 / 0.8141 GB, free: 56.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/1.705, allocations: 7.984 kB / 0.8141 GB, free: 56.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.705, allocations: 4 kB / 0.8141 GB, free: 56.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.705, allocations: 0 / 0.8141 GB, free: 56.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/1.705, allocations: 298.5 kB / 0.8144 GB, free: 56.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/1.705, allocations: 89.02 kB / 0.8145 GB, free: 56.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/1.705, allocations: 3.984 kB / 0.8145 GB, free: 56.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/1.706, allocations: 15.94 kB / 0.8145 GB, free: 56.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/1.706, allocations: 11.98 kB / 0.8145 GB, free: 56.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/1.706, allocations: 12 kB / 0.8145 GB, free: 56.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.576e-05/1.706, allocations: 91.2 kB / 0.8146 GB, free: 56.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.706, allocations: 3.938 kB / 0.8146 GB, free: 56.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004315/1.706, allocations: 60.25 kB / 0.8147 GB, free: 56.32 MB / 426.7 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.0007862/1.707, allocations: 0.6032 MB / 0.8153 GB, free: 55.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002892/1.707, allocations: 151.8 kB / 0.8154 GB, free: 55.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.707, allocations: 0 / 0.8154 GB, free: 55.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/1.707, allocations: 79.86 kB / 0.8155 GB, free: 55.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/1.708, allocations: 29.88 kB / 0.8155 GB, free: 55.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/1.708, allocations: 157.9 kB / 0.8157 GB, free: 55.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/1.708, allocations: 0.6971 MB / 0.8164 GB, free: 54.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003854/1.709, allocations: 60.72 kB / 0.8164 GB, free: 54.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/1.709, allocations: 39.41 kB / 0.8165 GB, free: 54.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/1.709, allocations: 0 / 0.8165 GB, free: 54.45 MB / 426.7 MB Notification: Performance of Templates: time 0.009296/1.718, allocations: 5.365 MB / 0.8217 GB, free: 49.08 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches