Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001444/0.001444, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001664/0.001664, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9233/0.9233, allocations: 177 MB / 204.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 272.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.987e-05, allocations: 2.312 kB / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2411/0.2412, allocations: 145.2 MB / 418.1 MB, free: 160 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.2431, allocations: 2.555 MB / 420.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.266e-05/0.2432, allocations: 0 / 420.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.2433, allocations: 23 kB / 420.7 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009023/0.2442, allocations: 348.7 kB / 421 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.2444, allocations: 63.66 kB / 421.1 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2445, allocations: 107.3 kB / 421.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.2446, allocations: 7.984 kB / 421.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.2447, allocations: 59.77 kB / 421.2 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.2448, allocations: 35.91 kB / 421.3 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.2448, allocations: 0 / 421.3 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.2453, allocations: 351.3 kB / 421.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.2453, allocations: 7.938 kB / 421.6 MB, free: 12.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.2453, allocations: 31.91 kB / 421.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.2458, allocations: 347.1 kB / 422 MB, free: 12.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2458, allocations: 0 / 422 MB, free: 12.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2458, allocations: 0 / 422 MB, free: 12.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.2458, 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.0006345/0.2464, allocations: 485 kB / 422.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2464, allocations: 11.98 kB / 422.5 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/0.2493, allocations: 465 kB / 422.9 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.2495, allocations: 168.6 kB / 423.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2495, allocations: 3.938 kB / 423.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.2496, allocations: 12 kB / 423.1 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.25, allocations: 305.3 kB / 423.4 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.25, allocations: 4 kB / 423.4 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.25, allocations: 0 / 423.4 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.25, allocations: 3.938 kB / 423.4 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.2503, allocations: 243.9 kB / 423.7 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.2509, allocations: 397.8 kB / 424.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.2513, allocations: 163 kB / 424.2 MB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.2514, allocations: 59.66 kB / 424.3 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.2514, allocations: 4 kB / 424.3 MB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.2514, allocations: 37.33 kB / 424.3 MB, free: 9.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.2514, allocations: 4 kB / 424.3 MB, free: 9.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007347/0.2521, allocations: 343 kB / 424.7 MB, free: 9.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.2522, allocations: 59.34 kB / 424.7 MB, free: 9.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.2523, allocations: 182.6 kB / 424.9 MB, free: 9.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.2523, allocations: 29.7 kB / 424.9 MB, free: 9.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.2523, allocations: 142.8 kB / 425.1 MB, free: 9.031 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.2524, allocations: 59.48 kB / 425.1 MB, free: 8.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.2524, allocations: 63.23 kB / 425.2 MB, free: 8.902 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2526, allocations: 0.4884 MB / 425.7 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.84e-05/0.2526, allocations: 55.97 kB / 425.7 MB, free: 8.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.2527, allocations: 102.4 kB / 425.8 MB, free: 8.227 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.2529, allocations: 173.4 kB / 426 MB, free: 8.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2529, allocations: 0 / 426 MB, free: 8.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002592/0.2532, allocations: 205.4 kB / 426.2 MB, free: 7.832 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2532, allocations: 4 kB / 426.2 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2532, allocations: 4 kB / 426.2 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2532, allocations: 0 / 426.2 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.2534, allocations: 52.58 kB / 426.2 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2534, allocations: 4 kB / 426.3 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.349e-05/0.2535, allocations: 12 kB / 426.3 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.2535, allocations: 11.98 kB / 426.3 MB, free: 7.746 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 8.732e-05/0.2536, allocations: 172.5 kB / 426.4 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.2536, allocations: 15.89 kB / 426.5 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.254, allocations: 237.1 kB / 426.7 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.254, allocations: 0 / 426.7 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.254, allocations: 0 / 426.7 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.254, allocations: 0 / 426.7 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/0.2546, allocations: 0.5168 MB / 427.2 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2546, allocations: 0 / 427.2 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.2547, allocations: 43.97 kB / 427.3 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2547, allocations: 0 / 427.3 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.2547, allocations: 4 kB / 427.3 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2547, allocations: 7.922 kB / 427.3 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2547, allocations: 4 kB / 427.3 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.255, allocations: 354.4 kB / 427.6 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.255, allocations: 15.84 kB / 427.6 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.2551, allocations: 7.938 kB / 427.6 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2552, allocations: 11.98 kB / 427.6 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.2552, allocations: 11.98 kB / 427.7 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.2552, allocations: 15.98 kB / 427.7 MB, free: 6.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.487e-05/0.2553, allocations: 135.9 kB / 427.8 MB, free: 6.125 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2553, allocations: 0 / 427.8 MB, free: 6.125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.2555, allocations: 51.94 kB / 427.9 MB, free: 6.074 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.0001893/0.2557, allocations: 123.2 kB / 428 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.2559, allocations: 163.5 kB / 428.1 MB, free: 5.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2559, allocations: 256 / 428.1 MB, free: 5.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.399e-05/0.256, allocations: 95.58 kB / 428.2 MB, free: 5.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.2563, allocations: 50.38 kB / 428.3 MB, free: 5.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007039/0.257, allocations: 287.6 kB / 428.6 MB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.101e-05/0.2571, allocations: 64 kB / 428.6 MB, free: 5.246 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.2572, allocations: 64.66 kB / 428.7 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.2573, allocations: 44.45 kB / 428.7 MB, free: 5.137 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2573, allocations: 0 / 428.7 MB, free: 5.137 MB / 378.7 MB Notification: Performance of Templates: time 0.005685/0.263, allocations: 3.969 MB / 432.7 MB, free: 1.238 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.9880253951996565]