Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001086/0.001086, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002517, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001013/0.001013, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001377/0.00239, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8724/0.8724, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0758/0.9482, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.106e-05, allocations: 6.25 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2203/0.2204, allocations: 145.1 MB / 389.6 MB, free: 7.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.2222, allocations: 2.572 MB / 392.1 MB, free: 5.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.2222, allocations: 0 / 392.1 MB, free: 5.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 8.731e-05/0.2223, allocations: 21.73 kB / 392.2 MB, free: 5.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005868/0.2229, allocations: 341.5 kB / 392.5 MB, free: 4.836 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.223, allocations: 67.05 kB / 392.6 MB, free: 4.773 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.127e-05/0.2231, allocations: 111.3 kB / 392.7 MB, free: 4.664 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.2231, allocations: 4 kB / 392.7 MB, free: 4.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.2233, allocations: 67.75 kB / 392.7 MB, free: 4.594 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.561e-05/0.2233, allocations: 23.92 kB / 392.8 MB, free: 4.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.2233, allocations: 0 / 392.8 MB, free: 4.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.2238, allocations: 369.8 kB / 393.1 MB, free: 4.211 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.2238, allocations: 7.938 kB / 393.1 MB, free: 4.203 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.2238, allocations: 23.94 kB / 393.2 MB, free: 4.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.2241, allocations: 307.2 kB / 393.5 MB, free: 3.879 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.318e-05/0.2241, allocations: 4 kB / 393.5 MB, free: 3.875 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2241, allocations: 0 / 393.5 MB, free: 3.875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.2242, allocations: 0 / 393.5 MB, free: 3.875 MB / 362.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.000578/0.2247, allocations: 469.5 kB / 393.9 MB, free: 3.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.2248, allocations: 12.03 kB / 393.9 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.2272, allocations: 0.5284 MB / 394.5 MB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.2274, allocations: 129.8 kB / 394.6 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.2274, allocations: 7.938 kB / 394.6 MB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.2274, allocations: 8 kB / 394.6 MB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.2277, allocations: 262 kB / 394.9 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2277, allocations: 0 / 394.9 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.2277, allocations: 4 kB / 394.9 MB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2277, allocations: 4 kB / 394.9 MB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.2279, allocations: 157.3 kB / 395 MB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.2283, allocations: 257 kB / 395.3 MB, free: 1.977 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.2286, allocations: 122.4 kB / 395.4 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.2287, allocations: 45.36 kB / 395.4 MB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.2287, allocations: 3.984 kB / 395.4 MB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.2287, allocations: 34.56 kB / 395.5 MB, free: 1.754 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.2287, allocations: 0 / 395.5 MB, free: 1.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004791/0.2292, allocations: 253 kB / 395.7 MB, free: 1.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.2292, allocations: 59.41 kB / 395.8 MB, free: 1.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.487e-05/0.2292, allocations: 130.6 kB / 395.9 MB, free: 1.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2293, allocations: 25.7 kB / 395.9 MB, free: 1.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.2293, allocations: 99.92 kB / 396 MB, free: 1.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.2293, allocations: 63.47 kB / 396.1 MB, free: 1.098 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.2294, allocations: 41.67 kB / 396.1 MB, free: 1.051 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000291/0.2297, allocations: 326.8 kB / 396.4 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.2297, allocations: 31.98 kB / 396.5 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.824e-05/0.2298, allocations: 65.53 kB / 396.5 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.2299, allocations: 120.2 kB / 396.7 MB, free: 492 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2299, allocations: 0 / 396.7 MB, free: 492 kB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001475/0.23, allocations: 143.5 kB / 396.8 MB, free: 344 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.23, allocations: 15.91 kB / 396.8 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2301, allocations: 4 kB / 396.8 MB, free: 324 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.2301, allocations: 0 / 396.8 MB, free: 324 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.2302, allocations: 59.89 kB / 396.9 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.2302, allocations: 0 / 396.9 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.951e-05/0.2303, allocations: 11.98 kB / 396.9 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.2303, allocations: 8 kB / 396.9 MB, free: 244 kB / 362.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 6.558e-05/0.2304, allocations: 117.8 kB / 397 MB, free: 116 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.2304, allocations: 15.98 kB / 397 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.2306, allocations: 180.5 kB / 397.2 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2306, allocations: 4 kB / 397.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.2307, allocations: 4 kB / 397.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2307, allocations: 0 / 397.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.231, allocations: 340.5 kB / 397.5 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.231, allocations: 4 kB / 397.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.2312, allocations: 47.89 kB / 397.6 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-06/0.2312, allocations: 11.94 kB / 397.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2312, allocations: 0 / 397.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2312, allocations: 12.06 kB / 397.6 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2312, allocations: 0 / 397.6 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2312, allocations: 4.703 kB / 397.6 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.2314, allocations: 240.5 kB / 397.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.2314, allocations: 8.859 kB / 397.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.2315, allocations: 8 kB / 397.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.2315, allocations: 15.91 kB / 397.9 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2315, allocations: 12 kB / 397.9 MB, free: 15.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.342e-05/0.2315, allocations: 24.83 kB / 397.9 MB, free: 15.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2315, allocations: 0 / 397.9 MB, free: 15.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.2317, allocations: 44 kB / 398 MB, free: 15.1 MB / 378.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.000141/0.2318, allocations: 112.3 kB / 398.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.232, allocations: 112.7 kB / 398.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.232, allocations: 7.938 kB / 398.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.126e-05/0.232, allocations: 64.75 kB / 398.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.2323, allocations: 79.53 kB / 398.3 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2336, allocations: 290 kB / 398.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/0.2337, allocations: 68 kB / 398.7 MB, free: 14.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.2338, allocations: 57.44 kB / 398.7 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.234, allocations: 103.3 kB / 398.8 MB, free: 14.17 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.234, allocations: 0 / 398.8 MB, free: 14.17 MB / 378.7 MB Notification: Performance of Templates: time 0.004667/0.2387, allocations: 4.095 MB / 402.9 MB, free: 10.13 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.6008372996002436]