Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 111.7 kB / 17.71 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 191 kB / 18.64 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 51.92 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2504, allocations: 49.42 MB / 401.3 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1497/0.4002, allocations: 149.2 MB / 0.5377 GB, free: 3.066 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.4027, allocations: 2.526 MB / 0.5401 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.4028, allocations: 4 kB / 0.5401 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.4029, allocations: 19.89 kB / 0.5401 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008546/0.4038, allocations: 318.3 kB / 0.5404 GB, free: 204 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.404, allocations: 61.73 kB / 0.5405 GB, free: 144 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.618e-05/0.4041, allocations: 87.47 kB / 0.5406 GB, free: 56 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.4042, allocations: 3.984 kB / 0.5406 GB, free: 52 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.281e-05/0.4043, allocations: 35.84 kB / 0.5406 GB, free: 16 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2429/0.6472, allocations: 21.05 kB / 0.5406 GB, free: 2.055 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.6472, allocations: 2.094 kB / 0.5406 GB, free: 2.055 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.6483, allocations: 367.6 kB / 0.541 GB, free: 2.055 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.6484, allocations: 5.172 kB / 0.541 GB, free: 2.055 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.6484, allocations: 27.83 kB / 0.541 GB, free: 2.055 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006582/0.6491, allocations: 297.8 kB / 0.5413 GB, free: 2.055 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6491, allocations: 0 / 0.5413 GB, free: 2.055 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6491, allocations: 0.5938 kB / 0.5413 GB, free: 2.055 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.6491, allocations: 0.9062 kB / 0.5413 GB, free: 2.055 MB / 462.1 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.001023/0.6502, allocations: 440.2 kB / 0.5417 GB, free: 17.69 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.6502, allocations: 10.5 kB / 0.5417 GB, free: 17.69 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006729/0.657, allocations: 457.8 kB / 0.5422 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.6571, allocations: 169.8 kB / 0.5423 GB, free: 17.48 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.6572, allocations: 6.688 kB / 0.5424 GB, free: 17.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.6573, allocations: 11.06 kB / 0.5424 GB, free: 17.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008342/0.6581, allocations: 297 kB / 0.5426 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.6582, allocations: 3.469 kB / 0.5426 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.6582, allocations: 2.031 kB / 0.5427 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.6582, allocations: 2.094 kB / 0.5427 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008976/0.6591, allocations: 276.8 kB / 0.5429 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.6602, allocations: 422.2 kB / 0.5433 GB, free: 17.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.6612, allocations: 204.5 kB / 0.5435 GB, free: 17.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.6614, allocations: 73.62 kB / 0.5436 GB, free: 17.13 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.6615, allocations: 7.188 kB / 0.5436 GB, free: 17.13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.6615, allocations: 39.66 kB / 0.5436 GB, free: 17.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.6615, allocations: 0.7656 kB / 0.5436 GB, free: 17.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.001663/0.6632, allocations: 422.7 kB / 0.544 GB, free: 17.04 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.6632, allocations: 53.38 kB / 0.5441 GB, free: 16.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.6633, allocations: 104.1 kB / 0.5442 GB, free: 16.88 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.6634, allocations: 29.36 kB / 0.5442 GB, free: 16.85 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.6634, allocations: 98.33 kB / 0.5443 GB, free: 16.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.6635, allocations: 59.09 kB / 0.5444 GB, free: 16.72 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.6636, allocations: 47.45 kB / 0.5444 GB, free: 16.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6637, allocations: 317.4 kB / 0.5447 GB, free: 16.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.6639, allocations: 76.38 kB / 0.5448 GB, free: 16.39 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.6642, allocations: 122.4 kB / 0.5449 GB, free: 16.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005427/0.6648, allocations: 201.9 kB / 0.5451 GB, free: 16.31 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6648, allocations: 0 / 0.5451 GB, free: 16.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000647/0.6655, allocations: 243.8 kB / 0.5453 GB, free: 16.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.6655, allocations: 6.734 kB / 0.5453 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6655, allocations: 5.172 kB / 0.5453 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.6655, allocations: 0 / 0.5453 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.6659, allocations: 57.12 kB / 0.5454 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.6659, allocations: 0 / 0.5454 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.6662, allocations: 15.33 kB / 0.5454 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.6663, allocations: 11 kB / 0.5454 GB, free: 16.27 MB / 478.1 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 0.0001243/0.6664, allocations: 127 kB / 0.5455 GB, free: 16.15 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.6665, allocations: 10.09 kB / 0.5455 GB, free: 16.15 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007795/0.6672, allocations: 282.4 kB / 0.5458 GB, free: 16.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6673, allocations: 0.7031 kB / 0.5458 GB, free: 16.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6673, allocations: 0 / 0.5458 GB, free: 16.11 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6673, allocations: 4.391 kB / 0.5458 GB, free: 16.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.6685, allocations: 0.573 MB / 0.5464 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.6686, allocations: 7.375 kB / 0.5464 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/0.6689, allocations: 42.33 kB / 0.5464 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.6689, allocations: 2.562 kB / 0.5464 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.669, allocations: 10.17 kB / 0.5464 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.669, allocations: 5.297 kB / 0.5464 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.669, allocations: 0 / 0.5464 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006222/0.6696, allocations: 335.3 kB / 0.5468 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.6697, allocations: 83.86 kB / 0.5468 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.6697, allocations: 8.031 kB / 0.5469 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.67, allocations: 8.938 kB / 0.5469 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.67, allocations: 22.77 kB / 0.5469 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.6701, allocations: 8.078 kB / 0.5469 GB, free: 15.53 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.202e-05/0.6701, allocations: 84.41 kB / 0.547 GB, free: 15.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6701, allocations: 0 / 0.547 GB, free: 15.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003794/0.6705, allocations: 50.78 kB / 0.547 GB, free: 15.45 MB / 478.1 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.0002192/0.6707, allocations: 129.8 kB / 0.5471 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006031/0.6713, allocations: 202.9 kB / 0.5473 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6713, allocations: 0 / 0.5473 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.6716, allocations: 104.1 kB / 0.5474 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.6721, allocations: 33.16 kB / 0.5475 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008138/0.6729, allocations: 302.5 kB / 0.5478 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.6732, allocations: 0.6912 MB / 0.5484 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.6733, allocations: 39.42 kB / 0.5485 GB, free: 14.48 MB / 478.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6733, allocations: 0 / 0.5485 GB, free: 14.48 MB / 478.1 MB Notification: Performance of Templates: time 0.003727/0.6771, allocations: 2.333 MB / 0.5507 GB, free: 14.41 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches