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.001005/0.001005, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0009574/0.0009574, allocations: 168.1 kB / 25.33 MB, free: 9.449 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.797/0.797, allocations: 158.6 MB / 187.2 MB, free: 2.551 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.432e-06/1.432e-06, allocations: 0 / 251 MB, free: 3.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.066e-05, allocations: 2.312 kB / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2182/0.2182, allocations: 143.4 MB / 394.4 MB, free: 8.223 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.2194, allocations: 1.552 MB / 396 MB, free: 6.676 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.2194, allocations: 4 kB / 396 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.2196, allocations: 19.89 kB / 396 MB, free: 6.652 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007031/0.2203, allocations: 329.4 kB / 396.3 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.2204, allocations: 63.67 kB / 396.4 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.468e-05/0.2205, allocations: 75.53 kB / 396.5 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.295e-05/0.2205, allocations: 7.938 kB / 396.5 MB, free: 6.191 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2206, allocations: 55.77 kB / 396.5 MB, free: 6.137 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.2207, allocations: 15.98 kB / 396.5 MB, free: 6.121 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.2207, allocations: 4 kB / 396.5 MB, free: 6.117 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.2211, allocations: 339.4 kB / 396.9 MB, free: 5.785 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.2211, allocations: 11.94 kB / 396.9 MB, free: 5.773 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.2212, allocations: 19.92 kB / 396.9 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.2215, allocations: 339.1 kB / 397.2 MB, free: 5.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2215, allocations: 0 / 397.2 MB, free: 5.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2215, allocations: 0 / 397.2 MB, free: 5.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2216, allocations: 4 kB / 397.2 MB, free: 5.418 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.0005362/0.2221, allocations: 456.8 kB / 397.7 MB, free: 4.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2221, allocations: 11.98 kB / 397.7 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/0.2249, allocations: 460 kB / 398.1 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.521e-05/0.225, allocations: 108.6 kB / 398.3 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.225, allocations: 12.38 kB / 398.3 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.2251, allocations: 4.562 kB / 398.3 MB, free: 4.328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.2255, allocations: 310.4 kB / 398.6 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.2255, allocations: 4 kB / 398.6 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.2255, allocations: 4 kB / 398.6 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2255, allocations: 3.984 kB / 398.6 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.2258, allocations: 246.8 kB / 398.8 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/0.2264, allocations: 393.9 kB / 399.2 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.2268, allocations: 162.9 kB / 399.4 MB, free: 3.176 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.2268, allocations: 59.66 kB / 399.4 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.2268, allocations: 8 kB / 399.4 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.2269, allocations: 41.39 kB / 399.5 MB, free: 3.055 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.2269, allocations: 0 / 399.5 MB, free: 3.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006999/0.2276, allocations: 338.3 kB / 399.8 MB, free: 2.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.2276, allocations: 55.41 kB / 399.9 MB, free: 2.652 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.2279, allocations: 165.9 kB / 400 MB, free: 2.473 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2279, allocations: 25.7 kB / 400 MB, free: 2.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.228, allocations: 150.5 kB / 400.2 MB, free: 2.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.228, allocations: 59.48 kB / 400.3 MB, free: 2.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.2281, allocations: 51.28 kB / 400.3 MB, free: 2.172 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2282, allocations: 0.4923 MB / 400.8 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.2283, allocations: 59.91 kB / 400.9 MB, free: 1.609 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.2284, allocations: 105.5 kB / 401 MB, free: 1.488 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.2285, allocations: 162.4 kB / 401.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2285, allocations: 7.984 kB / 401.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002567/0.2288, allocations: 200.2 kB / 401.3 MB, free: 1.102 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.2288, allocations: 8 kB / 401.3 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2288, allocations: 3.938 kB / 401.3 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2288, allocations: 8.125 kB / 401.3 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.229, allocations: 47.95 kB / 401.4 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.229, allocations: 7.938 kB / 401.4 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.143e-05/0.2291, allocations: 4 kB / 401.4 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.2291, allocations: 15.98 kB / 401.4 MB, free: 1.008 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 7.404e-05/0.2292, allocations: 164.5 kB / 401.6 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.2292, allocations: 15.95 kB / 401.6 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.2296, allocations: 234 kB / 401.8 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2296, allocations: 4 kB / 401.8 MB, free: 0.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2296, allocations: 0 / 401.8 MB, free: 0.582 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2296, allocations: 0 / 401.8 MB, free: 0.582 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005292/0.2301, allocations: 0.5174 MB / 402.3 MB, free: 16 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2301, allocations: 4 kB / 402.3 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.2302, allocations: 39.91 kB / 402.4 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.2302, allocations: 0 / 402.4 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.2303, allocations: 11.98 kB / 402.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2303, allocations: 4.875 kB / 402.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2303, allocations: 0 / 402.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.2305, allocations: 347.6 kB / 402.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.2305, allocations: 15.89 kB / 402.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.2306, allocations: 7.984 kB / 402.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2307, allocations: 8 kB / 402.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.2307, allocations: 11.97 kB / 402.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.2307, allocations: 9.312 kB / 402.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.166e-05/0.2307, allocations: 131.2 kB / 402.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2307, allocations: 0 / 402.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.231, allocations: 40 kB / 403 MB, free: 15.37 MB / 346.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.0001522/0.2311, allocations: 124.2 kB / 403.1 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.2313, allocations: 166.2 kB / 403.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.2313, allocations: 0 / 403.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.484e-05/0.2314, allocations: 89.27 kB / 403.3 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.2317, allocations: 51.45 kB / 403.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.2323, allocations: 275.7 kB / 403.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.583e-05/0.2324, allocations: 75.64 kB / 403.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.2325, allocations: 53.92 kB / 403.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/0.2326, allocations: 32.48 kB / 403.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2326, allocations: 0 / 403.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of Templates: time 0.004449/0.2371, allocations: 3.289 MB / 407.1 MB, free: 11.2 MB / 346.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.7575775110162795]