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.001376/0.001377, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.581/1.581, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009123/0.0009122, allocations: 70.73 kB / 267.9 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.823e-05, allocations: 0 / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.09945, allocations: 47.57 MB / 370 MB, free: 1.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.178, allocations: 442.2 MB / 0.7932 GB, free: 63.13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.179, allocations: 65.47 kB / 0.7932 GB, free: 63.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04894/1.227, allocations: 24.89 MB / 0.8175 GB, free: 40.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.228, allocations: 0 / 0.8175 GB, free: 40.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/1.228, allocations: 0 / 0.8175 GB, free: 40.86 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.0007458/1.228, allocations: 426.8 kB / 0.8179 GB, free: 40.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.228, allocations: 8.031 kB / 0.818 GB, free: 40.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00539/1.234, allocations: 467.3 kB / 0.8184 GB, free: 39.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.168e-05/1.234, allocations: 167 kB / 0.8186 GB, free: 39.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/1.234, allocations: 7.984 kB / 0.8186 GB, free: 39.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/1.234, allocations: 8 kB / 0.8186 GB, free: 39.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/1.234, allocations: 261.6 kB / 0.8188 GB, free: 39.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/1.234, allocations: 8 kB / 0.8188 GB, free: 39.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/1.235, allocations: 4 kB / 0.8188 GB, free: 39.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.235, allocations: 0 / 0.8188 GB, free: 39.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/1.235, allocations: 231.9 kB / 0.8191 GB, free: 39.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009174/1.236, allocations: 440.4 kB / 0.8195 GB, free: 38.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000794/1.237, allocations: 186.6 kB / 0.8197 GB, free: 38.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.566e-05/1.237, allocations: 56.86 kB / 0.8197 GB, free: 38.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/1.237, allocations: 4 kB / 0.8197 GB, free: 38.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/1.237, allocations: 34.56 kB / 0.8197 GB, free: 38.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/1.237, allocations: 4 kB / 0.8197 GB, free: 38.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001065/1.238, allocations: 302.2 kB / 0.82 GB, free: 38.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/1.238, allocations: 55.41 kB / 0.8201 GB, free: 38.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.17e-05/1.238, allocations: 96.94 kB / 0.8202 GB, free: 37.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/1.238, allocations: 25.7 kB / 0.8202 GB, free: 37.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/1.238, allocations: 103.9 kB / 0.8203 GB, free: 37.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/1.238, allocations: 63.09 kB / 0.8204 GB, free: 37.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/1.238, allocations: 4 kB / 0.8204 GB, free: 37.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.854e-05/1.238, allocations: 322.8 kB / 0.8207 GB, free: 37.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/1.238, allocations: 64.36 kB / 0.8207 GB, free: 37.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/1.239, allocations: 96.97 kB / 0.8208 GB, free: 37.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/1.239, allocations: 67.09 kB / 0.8209 GB, free: 37.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/1.239, allocations: 0 / 0.8209 GB, free: 37.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003064/1.239, allocations: 205.4 kB / 0.8211 GB, free: 36.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.239, allocations: 4 kB / 0.8211 GB, free: 36.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.239, allocations: 4 kB / 0.8211 GB, free: 36.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.239, allocations: 0 / 0.8211 GB, free: 36.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/1.239, allocations: 56.02 kB / 0.8211 GB, free: 36.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/1.239, allocations: 8 kB / 0.8212 GB, free: 36.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/1.24, allocations: 11.98 kB / 0.8212 GB, free: 36.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/1.24, allocations: 15.98 kB / 0.8212 GB, free: 36.89 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 7.44e-05/1.24, allocations: 116.9 kB / 0.8213 GB, free: 36.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/1.24, allocations: 7.906 kB / 0.8213 GB, free: 36.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/1.24, allocations: 241.8 kB / 0.8215 GB, free: 36.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.24, allocations: 3.938 kB / 0.8215 GB, free: 36.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.24, allocations: 0 / 0.8215 GB, free: 36.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.24, allocations: 0 / 0.8215 GB, free: 36.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007575/1.241, allocations: 0.5326 MB / 0.8221 GB, free: 35.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.241, allocations: 0 / 0.8221 GB, free: 35.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/1.241, allocations: 47.89 kB / 0.8221 GB, free: 35.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.241, allocations: 4 kB / 0.8221 GB, free: 35.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/1.241, allocations: 11.98 kB / 0.8221 GB, free: 35.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.241, allocations: 3.953 kB / 0.8221 GB, free: 35.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.241, allocations: 0 / 0.8221 GB, free: 35.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/1.242, allocations: 319 kB / 0.8224 GB, free: 35.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/1.242, allocations: 85.06 kB / 0.8225 GB, free: 35.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/1.242, allocations: 8 kB / 0.8225 GB, free: 35.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/1.242, allocations: 15.98 kB / 0.8225 GB, free: 35.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/1.242, allocations: 15.98 kB / 0.8225 GB, free: 35.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/1.242, allocations: 11.98 kB / 0.8226 GB, free: 35.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.423e-05/1.242, allocations: 75.28 kB / 0.8226 GB, free: 35.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.242, allocations: 4 kB / 0.8226 GB, free: 35.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004651/1.243, allocations: 75.98 kB / 0.8227 GB, free: 35.21 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.0006508/1.243, allocations: 0.5182 MB / 0.8232 GB, free: 34.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002927/1.244, allocations: 156.5 kB / 0.8234 GB, free: 34.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.244, allocations: 4 kB / 0.8234 GB, free: 34.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/1.244, allocations: 84.17 kB / 0.8234 GB, free: 34.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/1.244, allocations: 37.88 kB / 0.8235 GB, free: 34.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/1.245, allocations: 176.3 kB / 0.8236 GB, free: 34.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/1.245, allocations: 0.6935 MB / 0.8243 GB, free: 33.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003605/1.245, allocations: 60.72 kB / 0.8244 GB, free: 33.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/1.245, allocations: 35.41 kB / 0.8244 GB, free: 33.39 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/1.245, allocations: 3.938 kB / 0.8244 GB, free: 33.39 MB / 426.7 MB Notification: Performance of Templates: time 0.01258/1.258, allocations: 10.51 MB / 0.8347 GB, free: 22.87 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