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.0009287/0.0009287, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.0009687/0.0009687, allocations: 168 kB / 25.7 MB, free: 8.445 MB / 18.57 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 0.8007/0.8007, allocations: 158.6 MB / 187.6 MB, free: 2.801 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 251.5 MB, free: 7.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.503e-05, allocations: 2.312 kB / 251.5 MB, free: 7.305 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2397/0.2397, allocations: 142.8 MB / 394.3 MB, free: 9.379 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.241, allocations: 1.556 MB / 395.8 MB, free: 9.266 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.2411, allocations: 0 / 395.8 MB, free: 9.266 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.2412, allocations: 21.22 kB / 395.9 MB, free: 9.262 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008136/0.242, allocations: 343.6 kB / 396.2 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.2422, allocations: 65.53 kB / 396.3 MB, free: 9.203 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.2423, allocations: 81.22 kB / 396.3 MB, free: 9.203 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.2424, allocations: 3 kB / 396.3 MB, free: 9.203 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.2425, allocations: 46.25 kB / 396.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.2425, allocations: 24.2 kB / 396.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.2426, allocations: 2.344 kB / 396.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.243, allocations: 345.3 kB / 396.8 MB, free: 9.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.243, allocations: 7.812 kB / 396.8 MB, free: 9.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.2431, allocations: 26.73 kB / 396.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.2435, allocations: 331.8 kB / 397.1 MB, free: 9.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2435, allocations: 0 / 397.1 MB, free: 9.156 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2435, allocations: 2.375 kB / 397.1 MB, free: 9.156 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.2435, allocations: 1.203 kB / 397.1 MB, free: 9.156 MB / 330.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.0005358/0.244, allocations: 337.9 kB / 397.4 MB, free: 8.895 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2441, allocations: 12.08 kB / 397.5 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/0.2466, allocations: 0.5144 MB / 398 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.967e-05/0.2466, allocations: 117.2 kB / 398.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.2466, allocations: 5.719 kB / 398.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.2467, allocations: 3.812 kB / 398.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.247, allocations: 280.9 kB / 398.4 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.247, allocations: 0 / 398.4 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.247, allocations: 3.5 kB / 398.4 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.247, allocations: 2.812 kB / 398.4 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.2472, allocations: 152.1 kB / 398.5 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.2476, allocations: 250.2 kB / 398.8 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.2479, allocations: 126.9 kB / 398.9 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.2479, allocations: 39.81 kB / 398.9 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.2479, allocations: 5.5 kB / 398.9 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.248, allocations: 34.06 kB / 399 MB, free: 8.387 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.248, allocations: 1.203 kB / 399 MB, free: 8.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004963/0.2485, allocations: 248.5 kB / 399.2 MB, free: 8.297 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.966e-05/0.2485, allocations: 54.28 kB / 399.3 MB, free: 8.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.389e-05/0.2485, allocations: 114.1 kB / 399.4 MB, free: 8.121 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.2485, allocations: 31.92 kB / 399.4 MB, free: 8.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.035e-05/0.2485, allocations: 88.05 kB / 399.5 MB, free: 8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.2486, allocations: 64.69 kB / 399.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.2486, allocations: 47.23 kB / 399.6 MB, free: 7.926 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.936e-05/0.2487, allocations: 329 kB / 399.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.2487, allocations: 27.75 kB / 400 MB, free: 7.602 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/0.2487, allocations: 72.81 kB / 400 MB, free: 7.555 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/0.2488, allocations: 116.2 kB / 400.1 MB, free: 7.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2489, allocations: 6.406 kB / 400.1 MB, free: 7.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001419/0.249, allocations: 132.9 kB / 400.3 MB, free: 7.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.249, allocations: 12.02 kB / 400.3 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.249, allocations: 0 / 400.3 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.249, allocations: 2.906 kB / 400.3 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.2492, allocations: 46.09 kB / 400.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.2492, allocations: 6.156 kB / 400.3 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.2492, allocations: 13.48 kB / 400.4 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.2493, allocations: 10.38 kB / 400.4 MB, free: 7.414 MB / 330.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 () * 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 5.407e-05/0.2493, allocations: 114.3 kB / 400.5 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.2493, allocations: 13.2 kB / 400.5 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.2496, allocations: 187.4 kB / 400.7 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2496, allocations: 0 / 400.7 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2496, allocations: 3.938 kB / 400.7 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2496, allocations: 0 / 400.7 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.2499, allocations: 340.4 kB / 401 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2499, allocations: 4.031 kB / 401 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.25, allocations: 46.42 kB / 401.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.25, allocations: 7.703 kB / 401.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.2501, allocations: 3.375 kB / 401.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2501, allocations: 0 / 401.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2501, allocations: 3.438 kB / 401.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.2502, allocations: 234.4 kB / 401.3 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.2502, allocations: 10.66 kB / 401.3 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.2502, allocations: 14 kB / 401.3 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.2503, allocations: 6.438 kB / 401.3 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.2503, allocations: 13.5 kB / 401.3 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.2503, allocations: 8.219 kB / 401.3 MB, free: 6.754 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.654e-06/0.2504, allocations: 12.16 kB / 401.4 MB, free: 6.742 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2504, allocations: 1.203 kB / 401.4 MB, free: 6.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.2505, allocations: 45.31 kB / 401.4 MB, free: 6.738 MB / 330.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 () * 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.0001449/0.2507, allocations: 105 kB / 401.5 MB, free: 6.664 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.2508, allocations: 121.4 kB / 401.6 MB, free: 6.633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2508, allocations: 256 / 401.6 MB, free: 6.633 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.552e-05/0.2509, allocations: 73.33 kB / 401.7 MB, free: 6.609 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.2511, allocations: 46.94 kB / 401.7 MB, free: 6.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.2516, allocations: 261.1 kB / 402 MB, free: 6.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.389e-05/0.2516, allocations: 66.84 kB / 402.1 MB, free: 6.332 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.2518, allocations: 53.5 kB / 402.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.2519, allocations: 94.86 kB / 402.2 MB, free: 6.234 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2519, allocations: 0 / 402.2 MB, free: 6.234 MB / 330.7 MB Notification: Performance of Templates: time 0.004117/0.256, allocations: 3.697 MB / 405.9 MB, free: 4.312 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6066618179902434]