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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.009049/0.009049, allocations: 97.12 kB / 21.93 MB, free: 5.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002298/0.002298, allocations: 212.7 kB / 25.22 MB, free: 3.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 207.7 MB / 236.1 MB, free: 9.824 MB / 190.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 57.64 kB / 348.4 MB, free: 9.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2643, allocations: 49.16 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1759/0.4403, allocations: 129.4 MB / 0.5146 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.4424, allocations: 1.371 MB / 0.5159 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.4424, allocations: 0 / 0.5159 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.4426, allocations: 27.8 kB / 0.516 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.4437, allocations: 325.9 kB / 0.5163 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.4438, allocations: 59.75 kB / 0.5163 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.444, allocations: 79.53 kB / 0.5164 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.444, allocations: 0 / 0.5164 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.4441, allocations: 31.86 kB / 0.5164 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.816e-05/0.4442, allocations: 35.78 kB / 0.5165 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.4442, allocations: 4 kB / 0.5165 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007137/0.4449, allocations: 339.5 kB / 0.5168 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.4449, allocations: 0 / 0.5168 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.445, allocations: 39.8 kB / 0.5168 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.4456, allocations: 289.9 kB / 0.5171 GB, free: 14.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4456, allocations: 3.938 kB / 0.5171 GB, free: 14.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4456, allocations: 0 / 0.5171 GB, free: 14.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.4456, allocations: 0 / 0.5171 GB, free: 14.79 MB / 446.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.0009614/0.4465, allocations: 365.8 kB / 0.5175 GB, free: 14.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4466, allocations: 11.98 kB / 0.5175 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006215/0.4528, allocations: 456.2 kB / 0.5179 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.4529, allocations: 106.5 kB / 0.518 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4529, allocations: 11.88 kB / 0.518 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/0.453, allocations: 15.92 kB / 0.518 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008195/0.4538, allocations: 301.3 kB / 0.5183 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4539, allocations: 0 / 0.5183 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.4539, allocations: 4 kB / 0.5183 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4539, allocations: 0 / 0.5183 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008396/0.4548, allocations: 271.8 kB / 0.5186 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.4558, allocations: 356.4 kB / 0.5189 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.4568, allocations: 206.3 kB / 0.5191 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.457, allocations: 65.06 kB / 0.5192 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.4571, allocations: 11.98 kB / 0.5192 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.4571, allocations: 34.56 kB / 0.5192 GB, free: 12.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.4571, allocations: 0 / 0.5192 GB, free: 12.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001798/0.4589, allocations: 425 kB / 0.5196 GB, free: 12.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.459, allocations: 59.41 kB / 0.5197 GB, free: 12.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/0.4591, allocations: 101.8 kB / 0.5198 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.4591, allocations: 25.7 kB / 0.5198 GB, free: 11.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.4592, allocations: 99.98 kB / 0.5199 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/0.4592, allocations: 63.47 kB / 0.52 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.4593, allocations: 37.69 kB / 0.52 GB, free: 11.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002372/0.4596, allocations: 322.8 kB / 0.5203 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.4599, allocations: 75.95 kB / 0.5204 GB, free: 11.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.4602, allocations: 124.2 kB / 0.5205 GB, free: 11.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006096/0.4608, allocations: 204.2 kB / 0.5207 GB, free: 10.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4608, allocations: 0 / 0.5207 GB, free: 10.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006911/0.4615, allocations: 237.4 kB / 0.5209 GB, free: 10.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4615, allocations: 4 kB / 0.5209 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.4615, allocations: 8.125 kB / 0.5209 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4615, allocations: 0 / 0.5209 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.4619, allocations: 51.89 kB / 0.521 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4619, allocations: 4 kB / 0.521 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.4622, allocations: 15.98 kB / 0.521 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.4622, allocations: 11.98 kB / 0.521 GB, free: 10.59 MB / 446.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.4623, allocations: 121.8 kB / 0.5211 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.4624, allocations: 11.89 kB / 0.5212 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008359/0.4632, allocations: 278.2 kB / 0.5214 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4632, allocations: 0 / 0.5214 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4632, allocations: 3.938 kB / 0.5214 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.4632, allocations: 4 kB / 0.5214 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.4646, allocations: 0.5112 MB / 0.5219 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4646, allocations: 0 / 0.5219 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.4649, allocations: 39.97 kB / 0.522 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4649, allocations: 3.938 kB / 0.522 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.465, allocations: 12.11 kB / 0.522 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.465, allocations: 4 kB / 0.522 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.465, allocations: 4 kB / 0.522 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/0.4657, allocations: 341.5 kB / 0.5223 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.4657, allocations: 7.953 kB / 0.5223 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.4658, allocations: 7.984 kB / 0.5223 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.466, allocations: 11.98 kB / 0.5223 GB, free: 9.164 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.4661, allocations: 11.98 kB / 0.5224 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.4661, allocations: 23.86 kB / 0.5224 GB, free: 9.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.267e-05/0.4662, allocations: 79.28 kB / 0.5225 GB, free: 9.051 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4662, allocations: 0 / 0.5225 GB, free: 9.051 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003563/0.4665, allocations: 47.94 kB / 0.5225 GB, free: 9.004 MB / 446.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002454/0.4668, allocations: 123.2 kB / 0.5226 GB, free: 8.875 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006771/0.4674, allocations: 187.9 kB / 0.5228 GB, free: 8.691 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4675, allocations: 0 / 0.5228 GB, free: 8.691 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.4678, allocations: 108.1 kB / 0.5229 GB, free: 8.586 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.4683, allocations: 31.97 kB / 0.5229 GB, free: 8.555 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009123/0.4692, allocations: 300.4 kB / 0.5232 GB, free: 8.219 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.375e-05/0.4692, allocations: 79.77 kB / 0.5233 GB, free: 8.121 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.4694, allocations: 39.41 kB / 0.5233 GB, free: 8.082 MB / 446.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4694, allocations: 0 / 0.5233 GB, free: 8.082 MB / 446.1 MB Notification: Performance of Templates: time 0.005255/0.4747, allocations: 2.373 MB / 0.5256 GB, free: 5.703 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.5688112219795585]