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.000988/0.000988, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.000998/0.000998, allocations: 170.1 kB / 25.75 MB, free: 8.582 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.8767/0.8767, allocations: 158.6 MB / 187.6 MB, free: 2.895 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.813e-06/1.813e-06, allocations: 0 / 251.1 MB, free: 7.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.778e-05, allocations: 2.312 kB / 251.1 MB, free: 7.918 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2315/0.2315, allocations: 143.1 MB / 394.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2326, allocations: 1.556 MB / 395.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.2326, allocations: 2.656 kB / 395.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.2328, allocations: 22.09 kB / 395.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006215/0.2334, allocations: 332.5 kB / 396.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.2335, allocations: 60.92 kB / 396.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.346e-05/0.2336, allocations: 78.44 kB / 396.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.2336, allocations: 6.625 kB / 396.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.2337, allocations: 50.05 kB / 396.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.2338, allocations: 19.03 kB / 396.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2338, allocations: 2.812 kB / 396.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.2342, allocations: 344.9 kB / 396.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.2342, allocations: 5.844 kB / 396.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.2343, allocations: 25.09 kB / 396.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.2346, allocations: 333.4 kB / 397 MB, free: 9.973 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2346, allocations: 7.938 kB / 397 MB, free: 9.965 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2346, allocations: 0 / 397 MB, free: 9.965 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.2346, allocations: 0 / 397 MB, free: 9.965 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.0005263/0.2351, allocations: 459.8 kB / 397.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2352, allocations: 12.39 kB / 397.5 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002978/0.2381, allocations: 461.8 kB / 397.9 MB, free: 9.543 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.633e-05/0.2382, allocations: 107.3 kB / 398 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.2382, allocations: 6.094 kB / 398 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.2383, allocations: 12.08 kB / 398.1 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.2386, allocations: 309.3 kB / 398.4 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2386, allocations: 0 / 398.4 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.2387, allocations: 0 / 398.4 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2387, allocations: 6.891 kB / 398.4 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.239, allocations: 244.7 kB / 398.6 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.2395, allocations: 391.2 kB / 399 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.2399, allocations: 160.5 kB / 399.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.193e-05/0.2399, allocations: 63.36 kB / 399.2 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2399, allocations: 7.109 kB / 399.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.24, allocations: 39.52 kB / 399.2 MB, free: 8.832 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.24, allocations: 0 / 399.2 MB, free: 8.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006921/0.2407, allocations: 339.3 kB / 399.6 MB, free: 8.734 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.2407, allocations: 54.19 kB / 399.6 MB, free: 8.672 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.417e-05/0.2407, allocations: 163.6 kB / 399.8 MB, free: 8.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.2407, allocations: 29.2 kB / 399.8 MB, free: 8.473 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.2408, allocations: 149.5 kB / 400 MB, free: 8.324 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.2408, allocations: 64.33 kB / 400 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.2408, allocations: 47.17 kB / 400.1 MB, free: 8.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.601e-05/0.2409, allocations: 0.4912 MB / 400.6 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.241, allocations: 54.19 kB / 400.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.2411, allocations: 109.9 kB / 400.7 MB, free: 7.672 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.2412, allocations: 170 kB / 400.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2412, allocations: 0 / 400.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002322/0.2414, allocations: 202.7 kB / 401.1 MB, free: 7.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2415, allocations: 10.09 kB / 401.1 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2415, allocations: 11.42 kB / 401.1 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2415, allocations: 3.031 kB / 401.1 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.2416, allocations: 42.41 kB / 401.2 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2416, allocations: 2.375 kB / 401.2 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.477e-05/0.2417, allocations: 10.77 kB / 401.2 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.2418, allocations: 11.28 kB / 401.2 MB, free: 7.516 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.768e-05/0.2418, allocations: 165.8 kB / 401.3 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.2419, allocations: 13.8 kB / 401.4 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.2422, allocations: 240.1 kB / 401.6 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2422, allocations: 0 / 401.6 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2422, allocations: 6.844 kB / 401.6 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2422, allocations: 0 / 401.6 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.2427, allocations: 0.5113 MB / 402.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2427, allocations: 3.406 kB / 402.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.2428, allocations: 40.41 kB / 402.1 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2428, allocations: 3.984 kB / 402.2 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.2428, allocations: 8.875 kB / 402.2 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2429, allocations: 64 / 402.2 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2429, allocations: 4 kB / 402.2 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.2431, allocations: 357.4 kB / 402.5 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.2431, allocations: 6.766 kB / 402.5 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.2431, allocations: 6.312 kB / 402.5 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2432, allocations: 2.656 kB / 402.5 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.2433, allocations: 22.08 kB / 402.6 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.2433, allocations: 13.92 kB / 402.6 MB, free: 6.598 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.756e-05/0.2433, allocations: 121.7 kB / 402.7 MB, free: 6.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2433, allocations: 4 kB / 402.7 MB, free: 6.477 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.2435, allocations: 43.81 kB / 402.7 MB, free: 6.477 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.0001507/0.2437, allocations: 121 kB / 402.8 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.2439, allocations: 168.9 kB / 403 MB, free: 6.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2439, allocations: 0 / 403 MB, free: 6.336 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.244, allocations: 90.7 kB / 403.1 MB, free: 6.309 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.2442, allocations: 56.14 kB / 403.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.2448, allocations: 270 kB / 403.4 MB, free: 6.086 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.255e-05/0.2449, allocations: 67.16 kB / 403.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001693/0.245, allocations: 61.86 kB / 403.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/0.2451, allocations: 34.56 kB / 403.6 MB, free: 5.953 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2451, allocations: 0 / 403.6 MB, free: 5.953 MB / 330.7 MB Notification: Performance of Templates: time 0.003978/0.2491, allocations: 3.294 MB / 406.9 MB, free: 4.258 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.7577895680442452]