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.001908/0.001908, allocations: 82.88 kB / 21.99 MB, free: 4.754 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.002262/0.002262, allocations: 153.8 kB / 25.25 MB, free: 2.742 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.293/1.293, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 MB " [Timeout remaining time 179] 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.001819/0.001819, allocations: 59.92 kB / 299.4 MB, free: 6.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1939, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3442/0.5381, allocations: 129.4 MB / 477.8 MB, free: 1.453 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.5397, allocations: 1.369 MB / 479.2 MB, free: 1.453 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.5397, allocations: 2.031 kB / 479.2 MB, free: 1.453 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.5399, allocations: 20.91 kB / 479.2 MB, free: 1.453 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007892/0.5407, allocations: 329.6 kB / 479.6 MB, free: 1.445 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.5408, allocations: 53.92 kB / 479.6 MB, free: 1.445 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.15e-05/0.5409, allocations: 80.34 kB / 479.7 MB, free: 1.445 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.541, allocations: 6.922 kB / 479.7 MB, free: 1.445 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.969e-05/0.541, allocations: 31.2 kB / 479.7 MB, free: 1.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.5411, allocations: 26.73 kB / 479.8 MB, free: 1.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.5411, allocations: 1.844 kB / 479.8 MB, free: 1.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006668/0.5418, allocations: 344.5 kB / 480.1 MB, free: 1.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.5418, allocations: 12.16 kB / 480.1 MB, free: 1.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.5418, allocations: 23.84 kB / 480.1 MB, free: 1.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.5423, allocations: 300.3 kB / 480.4 MB, free: 1.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5423, allocations: 1.891 kB / 480.4 MB, free: 1.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5423, allocations: 1.859 kB / 480.4 MB, free: 1.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.5424, allocations: 2.406 kB / 480.4 MB, free: 1.43 MB / 430.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.0008983/0.5433, allocations: 360.6 kB / 480.8 MB, free: 17.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.5433, allocations: 14.97 kB / 480.8 MB, free: 17.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006533/0.5498, allocations: 483 kB / 481.3 MB, free: 17.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.5499, allocations: 105.5 kB / 481.4 MB, free: 17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.55, allocations: 11.22 kB / 481.4 MB, free: 17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.258e-05/0.55, allocations: 12.44 kB / 481.4 MB, free: 17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.5508, allocations: 295.7 kB / 481.7 MB, free: 16.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.5508, allocations: 1.375 kB / 481.7 MB, free: 16.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/0.5509, allocations: 0.8125 kB / 481.7 MB, free: 16.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.5509, allocations: 6.734 kB / 481.7 MB, free: 16.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000948/0.5518, allocations: 276.1 kB / 482 MB, free: 16.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009653/0.5528, allocations: 360 kB / 482.3 MB, free: 16.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009909/0.5538, allocations: 201.6 kB / 482.5 MB, free: 16.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.554, allocations: 64.52 kB / 482.6 MB, free: 16.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.554, allocations: 5.062 kB / 482.6 MB, free: 16.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.554, allocations: 38.75 kB / 482.6 MB, free: 16.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.554, allocations: 0 / 482.6 MB, free: 16.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001653/0.5557, allocations: 422.1 kB / 483 MB, free: 16.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.5557, allocations: 61.34 kB / 483.1 MB, free: 16.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.5558, allocations: 102.9 kB / 483.2 MB, free: 16.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.5558, allocations: 26.52 kB / 483.2 MB, free: 16.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.5559, allocations: 103 kB / 483.3 MB, free: 16.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.5559, allocations: 57.92 kB / 483.4 MB, free: 16.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.556, allocations: 46.64 kB / 483.4 MB, free: 16.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5561, allocations: 317.7 kB / 483.7 MB, free: 15.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.5564, allocations: 75.55 kB / 483.8 MB, free: 15.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.5567, allocations: 119.5 kB / 483.9 MB, free: 15.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/0.5572, allocations: 203 kB / 484.1 MB, free: 15.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5572, allocations: 0.9062 kB / 484.1 MB, free: 15.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006284/0.5578, allocations: 250.4 kB / 484.4 MB, free: 15.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5578, allocations: 5.531 kB / 484.4 MB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.5578, allocations: 0 / 484.4 MB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.5578, allocations: 5.141 kB / 484.4 MB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.5582, allocations: 57.81 kB / 484.4 MB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5582, allocations: 3.625 kB / 484.4 MB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.5585, allocations: 9 kB / 484.4 MB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.5585, allocations: 16.45 kB / 484.5 MB, free: 15.83 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.0001161/0.5586, allocations: 118.1 kB / 484.6 MB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.5587, allocations: 13.92 kB / 484.6 MB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007481/0.5594, allocations: 279.2 kB / 484.9 MB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5594, allocations: 3.469 kB / 484.9 MB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5594, allocations: 1 kB / 484.9 MB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5594, allocations: 0 / 484.9 MB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.5606, allocations: 0.5109 MB / 485.4 MB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5606, allocations: 3.281 kB / 485.4 MB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.5609, allocations: 40.94 kB / 485.4 MB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5609, allocations: 5.297 kB / 485.4 MB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.561, allocations: 7.875 kB / 485.4 MB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.561, allocations: 0.9062 kB / 485.4 MB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.561, allocations: 5.375 kB / 485.4 MB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.5616, allocations: 336.1 kB / 485.8 MB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.5616, allocations: 10.02 kB / 485.8 MB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.5616, allocations: 6.469 kB / 485.8 MB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.5619, allocations: 10.03 kB / 485.8 MB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.562, allocations: 18.38 kB / 485.8 MB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.562, allocations: 11.98 kB / 485.8 MB, free: 15.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.525e-05/0.562, allocations: 88.91 kB / 485.9 MB, free: 15.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.562, allocations: 2.172 kB / 485.9 MB, free: 15.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003418/0.5624, allocations: 41.2 kB / 485.9 MB, free: 15.17 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.0001917/0.5626, allocations: 124.7 kB / 486.1 MB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005895/0.5632, allocations: 192.1 kB / 486.3 MB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5632, allocations: 0 / 486.3 MB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.5634, allocations: 106 kB / 486.4 MB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.5639, allocations: 44.52 kB / 486.4 MB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007175/0.5646, allocations: 270.7 kB / 486.7 MB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.404e-05/0.5646, allocations: 79.95 kB / 486.7 MB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.5649, allocations: 50.39 kB / 486.8 MB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.565, allocations: 39.2 kB / 486.8 MB, free: 14.83 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.565, allocations: 0 / 486.8 MB, free: 14.83 MB / 446.1 MB Notification: Performance of Templates: time 0.005667/0.5707, allocations: 3.189 MB / 490 MB, free: 14.61 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 -s ida -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: 4.581175760016777]