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.00147/0.00147, allocations: 107.6 kB / 21.18 MB, free: 472 kB / 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.001855/0.001855, allocations: 208 kB / 24.47 MB, free: 3.801 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.603/1.603, allocations: 207.7 MB / 235.3 MB, free: 9.816 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.002422/0.002422, allocations: 53.48 kB / 347.7 MB, free: 9.414 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3024, allocations: 49.15 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1715/0.4739, allocations: 129.4 MB / 0.5139 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.4759, allocations: 1.371 MB / 0.5152 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.4759, allocations: 0 / 0.5152 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.4761, allocations: 27.81 kB / 0.5152 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009707/0.4771, allocations: 318 kB / 0.5155 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.4773, allocations: 67.67 kB / 0.5156 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.4774, allocations: 79.53 kB / 0.5157 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.4774, allocations: 0 / 0.5157 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.4775, allocations: 35.84 kB / 0.5157 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.4776, allocations: 23.86 kB / 0.5157 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.4776, allocations: 4 kB / 0.5157 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007205/0.4783, allocations: 335.5 kB / 0.5161 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.4783, allocations: 15.98 kB / 0.5161 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.4784, allocations: 27.86 kB / 0.5161 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.4789, allocations: 293.8 kB / 0.5164 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4789, allocations: 3.938 kB / 0.5164 GB, free: 14.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4789, allocations: 0 / 0.5164 GB, free: 14.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.4789, allocations: 0 / 0.5164 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.0008331/0.4797, allocations: 357.8 kB / 0.5167 GB, free: 14.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.4798, allocations: 15.98 kB / 0.5167 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006409/0.4862, allocations: 468.1 kB / 0.5172 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.4863, allocations: 102.5 kB / 0.5173 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.4863, allocations: 11.94 kB / 0.5173 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.74e-05/0.4864, allocations: 4 kB / 0.5173 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008129/0.4872, allocations: 293.3 kB / 0.5176 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.4872, allocations: 11.94 kB / 0.5176 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/0.4873, allocations: 4 kB / 0.5176 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4873, allocations: 0 / 0.5176 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008431/0.4881, allocations: 271.8 kB / 0.5179 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.4891, allocations: 364.3 kB / 0.5182 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.4902, allocations: 198.4 kB / 0.5184 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.4904, allocations: 65.08 kB / 0.5185 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.4904, allocations: 11.92 kB / 0.5185 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.4904, allocations: 34.56 kB / 0.5185 GB, free: 12.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.4904, allocations: 0 / 0.5185 GB, free: 12.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001826/0.4922, allocations: 425.1 kB / 0.5189 GB, free: 12.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.4923, allocations: 55.41 kB / 0.519 GB, free: 12.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.426e-05/0.4924, allocations: 101.8 kB / 0.5191 GB, free: 11.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.4924, allocations: 37.7 kB / 0.5191 GB, free: 11.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.4925, allocations: 91.98 kB / 0.5192 GB, free: 11.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.4926, allocations: 63.47 kB / 0.5192 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.403e-05/0.4926, allocations: 41.7 kB / 0.5193 GB, free: 11.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4928, allocations: 314.8 kB / 0.5196 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.4931, allocations: 79.94 kB / 0.5197 GB, free: 11.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.4934, allocations: 116.2 kB / 0.5198 GB, free: 11.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.494, allocations: 204.3 kB / 0.52 GB, free: 10.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.494, allocations: 0 / 0.52 GB, free: 10.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007039/0.4947, allocations: 249.3 kB / 0.5202 GB, free: 10.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4947, allocations: 8 kB / 0.5202 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4947, allocations: 0 / 0.5202 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4947, allocations: 0 / 0.5202 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.4951, allocations: 60.02 kB / 0.5203 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4951, allocations: 4 kB / 0.5203 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.4954, allocations: 11.98 kB / 0.5203 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.4954, allocations: 12 kB / 0.5203 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.0001176/0.4955, allocations: 121.8 kB / 0.5204 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.4956, allocations: 11.89 kB / 0.5204 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008387/0.4964, allocations: 269.9 kB / 0.5207 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4964, allocations: 8 kB / 0.5207 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4964, allocations: 0 / 0.5207 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.4964, allocations: 8.109 kB / 0.5207 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.4978, allocations: 0.5073 MB / 0.5212 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4978, allocations: 7.922 kB / 0.5212 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.4981, allocations: 43.95 kB / 0.5212 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.4981, allocations: 0 / 0.5212 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.4981, allocations: 8 kB / 0.5212 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4981, allocations: 4 kB / 0.5213 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4981, allocations: 0 / 0.5213 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000743/0.4989, allocations: 337.7 kB / 0.5216 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.4989, allocations: 11.95 kB / 0.5216 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.4989, allocations: 4 kB / 0.5216 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.4992, allocations: 15.98 kB / 0.5216 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.4992, allocations: 11.97 kB / 0.5216 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.4993, allocations: 11.94 kB / 0.5216 GB, free: 9.148 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.847e-05/0.4993, allocations: 87.27 kB / 0.5217 GB, free: 9.062 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4993, allocations: 4 kB / 0.5217 GB, free: 9.059 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003467/0.4997, allocations: 47.94 kB / 0.5218 GB, free: 9.012 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.0002069/0.4999, allocations: 119.2 kB / 0.5219 GB, free: 8.887 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006618/0.5005, allocations: 191.9 kB / 0.5221 GB, free: 8.699 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5005, allocations: 4 kB / 0.5221 GB, free: 8.695 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.5008, allocations: 100.1 kB / 0.5222 GB, free: 8.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.5013, allocations: 39.91 kB / 0.5222 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/0.5021, allocations: 270.8 kB / 0.5225 GB, free: 8.258 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.618e-05/0.5022, allocations: 79.77 kB / 0.5225 GB, free: 8.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002954/0.5025, allocations: 52.75 kB / 0.5226 GB, free: 8.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.5027, allocations: 39.41 kB / 0.5226 GB, free: 8.07 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5027, allocations: 0 / 0.5226 GB, free: 8.07 MB / 446.1 MB Notification: Performance of Templates: time 0.007196/0.5099, allocations: 3.281 MB / 0.5258 GB, free: 4.777 MB / 446.1 MB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/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: 5.0014456529170275]