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.000925/0.000925, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009319/0.0009319, allocations: 169.6 kB / 24.91 MB, free: 8.734 MB / 18.57 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.9152/0.9152, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.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.001e-06/1.001e-06, allocations: 0 / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088e-05/1.188e-05, allocations: 2.312 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2212/0.2212, allocations: 144.6 MB / 418.1 MB, free: 188 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.223, allocations: 2.559 MB / 420.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.2231, allocations: 0 / 420.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.2232, allocations: 26.14 kB / 420.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005683/0.2237, allocations: 353 kB / 421 MB, free: 13.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001091/0.2239, allocations: 55.8 kB / 421.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.492e-05/0.224, allocations: 111.2 kB / 421.2 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.224, allocations: 7.984 kB / 421.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.2241, allocations: 63.75 kB / 421.3 MB, free: 13.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.993e-05/0.2242, allocations: 31.91 kB / 421.3 MB, free: 13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.2242, allocations: 0 / 421.3 MB, free: 13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006693/0.2248, allocations: 359.4 kB / 421.7 MB, free: 12.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.2249, allocations: 15.92 kB / 421.7 MB, free: 12.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.2249, allocations: 23.94 kB / 421.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.2252, allocations: 355 kB / 422 MB, free: 12.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2252, allocations: 4 kB / 422 MB, free: 12.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2252, allocations: 0 / 422 MB, free: 12.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.2252, allocations: 0 / 422 MB, free: 12.26 MB / 378.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.0004834/0.2257, allocations: 353.4 kB / 422.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.2257, allocations: 12.02 kB / 422.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/0.2285, allocations: 0.5251 MB / 422.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.2286, allocations: 133.8 kB / 423.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.2286, allocations: 7.938 kB / 423.1 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.2287, allocations: 8 kB / 423.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.2289, allocations: 266 kB / 423.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2289, allocations: 4 kB / 423.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.229, allocations: 4 kB / 423.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.229, allocations: 0 / 423.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.2292, allocations: 158 kB / 423.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.2296, allocations: 253 kB / 423.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.2299, allocations: 122.5 kB / 423.9 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.2299, allocations: 44.78 kB / 423.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.23, allocations: 4 kB / 423.9 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.23, allocations: 30.56 kB / 423.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.23, allocations: 0 / 423.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005243/0.2305, allocations: 250.9 kB / 424.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.2305, allocations: 59.39 kB / 424.2 MB, free: 9.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.2306, allocations: 122.6 kB / 424.4 MB, free: 9.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.2306, allocations: 33.7 kB / 424.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.2306, allocations: 99.91 kB / 424.5 MB, free: 9.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.2307, allocations: 63.45 kB / 424.6 MB, free: 9.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.2307, allocations: 41.69 kB / 424.6 MB, free: 9.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.567e-05/0.2308, allocations: 322.8 kB / 424.9 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.673e-05/0.2308, allocations: 35.98 kB / 424.9 MB, free: 9.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.299e-05/0.2309, allocations: 76.2 kB / 425 MB, free: 9.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.231, allocations: 118.8 kB / 425.1 MB, free: 8.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.231, allocations: 0 / 425.1 MB, free: 8.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001603/0.2312, allocations: 145.4 kB / 425.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2312, allocations: 11.94 kB / 425.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2312, allocations: 0 / 425.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2312, allocations: 0 / 425.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.2314, allocations: 47.95 kB / 425.3 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2314, allocations: 4 kB / 425.3 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.699e-05/0.2315, allocations: 11.98 kB / 425.4 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.2315, allocations: 12.12 kB / 425.4 MB, free: 8.758 MB / 378.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.946e-05/0.2316, allocations: 117.8 kB / 425.5 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.2316, allocations: 11.98 kB / 425.5 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.2318, allocations: 180.2 kB / 425.7 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2318, allocations: 4 kB / 425.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.2318, allocations: 0 / 425.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2318, allocations: 1.938 kB / 425.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.2322, allocations: 355.1 kB / 426 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2322, allocations: 0 / 426 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.2324, allocations: 51.95 kB / 426.1 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.2324, allocations: 4 kB / 426.1 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.2324, allocations: 0 / 426.1 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2324, allocations: 4 kB / 426.1 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2324, allocations: 0 / 426.1 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.2326, allocations: 237.5 kB / 426.3 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.2326, allocations: 7.953 kB / 426.3 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.2326, allocations: 8 kB / 426.3 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/0.2327, allocations: 8 kB / 426.3 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.2327, allocations: 19.91 kB / 426.4 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.2327, allocations: 8 kB / 426.4 MB, free: 7.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.541e-05/0.2328, allocations: 21.44 kB / 426.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2328, allocations: 0 / 426.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.2329, allocations: 48 kB / 426.4 MB, free: 7.629 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.0001509/0.2331, allocations: 112.2 kB / 426.5 MB, free: 7.516 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.2332, allocations: 124.3 kB / 426.7 MB, free: 7.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.2333, allocations: 0 / 426.7 MB, free: 7.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/0.2333, allocations: 79.73 kB / 426.7 MB, free: 7.316 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.2335, allocations: 48.98 kB / 426.8 MB, free: 7.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005613/0.2341, allocations: 271.9 kB / 427.1 MB, free: 6.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.2341, allocations: 68 kB / 427.1 MB, free: 6.891 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.2343, allocations: 61.44 kB / 427.2 MB, free: 6.828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.2345, allocations: 95.33 kB / 427.3 MB, free: 6.734 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2345, allocations: 0 / 427.3 MB, free: 6.734 MB / 378.7 MB Notification: Performance of Templates: time 0.005125/0.2396, allocations: 4.027 MB / 431.3 MB, free: 2.77 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 -s gbode -gbm=radauIIA3 -emit_protected -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.771172414999455]