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.001164/0.001164, allocations: 110.3 kB / 17.06 MB, free: 6 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.001105/0.001105, allocations: 200 kB / 18 MB, free: 5.078 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.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 51.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2644, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1514/0.4159, allocations: 149.2 MB / 0.537 GB, free: 3.055 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.4185, allocations: 2.53 MB / 0.5395 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.4186, allocations: 0 / 0.5395 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.4187, allocations: 31.81 kB / 0.5395 GB, free: 496 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008663/0.4196, allocations: 318.3 kB / 0.5398 GB, free: 176 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.4198, allocations: 63.73 kB / 0.5399 GB, free: 112 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.4199, allocations: 75.53 kB / 0.54 GB, free: 36 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.42, allocations: 11.98 kB / 0.54 GB, free: 24 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2244/0.6444, allocations: 33.97 kB / 0.54 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.399e-05/0.6445, allocations: 24.45 kB / 0.54 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.6445, allocations: 2.125 kB / 0.54 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.6455, allocations: 362.8 kB / 0.5404 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.6455, allocations: 10.42 kB / 0.5404 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.6456, allocations: 25.34 kB / 0.5404 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005661/0.6462, allocations: 296.3 kB / 0.5407 GB, free: 2.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.6462, allocations: 3.188 kB / 0.5407 GB, free: 2.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6462, allocations: 0.7812 kB / 0.5407 GB, free: 2.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.6462, allocations: 0.5 kB / 0.5407 GB, free: 2.02 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.0009036/0.6471, allocations: 436.3 kB / 0.5411 GB, free: 17.65 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.6472, allocations: 11.23 kB / 0.5411 GB, free: 17.65 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005748/0.6529, allocations: 458.9 kB / 0.5416 GB, free: 17.64 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.876e-05/0.653, allocations: 167.6 kB / 0.5417 GB, free: 17.45 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.6531, allocations: 8.688 kB / 0.5417 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.658e-05/0.6531, allocations: 7.594 kB / 0.5417 GB, free: 17.44 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000746/0.6539, allocations: 304 kB / 0.542 GB, free: 17.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.6539, allocations: 0.5312 kB / 0.542 GB, free: 17.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.654, allocations: 4.094 kB / 0.542 GB, free: 17.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.654, allocations: 2.281 kB / 0.542 GB, free: 17.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008271/0.6548, allocations: 273.5 kB / 0.5423 GB, free: 17.41 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009958/0.6558, allocations: 418.9 kB / 0.5427 GB, free: 17.13 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000955/0.6568, allocations: 209.2 kB / 0.5429 GB, free: 17.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.657, allocations: 72.56 kB / 0.543 GB, free: 17.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.657, allocations: 7.453 kB / 0.543 GB, free: 17.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.657, allocations: 31.44 kB / 0.543 GB, free: 17.06 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.657, allocations: 0.9375 kB / 0.543 GB, free: 17.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.00157/0.6586, allocations: 425.6 kB / 0.5434 GB, free: 17 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.6587, allocations: 58.66 kB / 0.5435 GB, free: 16.94 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.483e-05/0.6587, allocations: 99.19 kB / 0.5436 GB, free: 16.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.6588, allocations: 30.72 kB / 0.5436 GB, free: 16.81 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.6588, allocations: 99.94 kB / 0.5437 GB, free: 16.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.6589, allocations: 56.17 kB / 0.5437 GB, free: 16.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.659, allocations: 45.03 kB / 0.5438 GB, free: 16.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.6591, allocations: 324 kB / 0.5441 GB, free: 16.35 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.6593, allocations: 78.84 kB / 0.5442 GB, free: 16.35 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.6595, allocations: 119.4 kB / 0.5443 GB, free: 16.31 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004758/0.66, allocations: 202.6 kB / 0.5445 GB, free: 16.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.66, allocations: 0 / 0.5445 GB, free: 16.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000588/0.6606, allocations: 245.7 kB / 0.5447 GB, free: 16.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6607, allocations: 5.406 kB / 0.5447 GB, free: 16.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6607, allocations: 1.203 kB / 0.5447 GB, free: 16.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.6607, allocations: 4.094 kB / 0.5447 GB, free: 16.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.6611, allocations: 51.41 kB / 0.5448 GB, free: 16.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6611, allocations: 2.641 kB / 0.5448 GB, free: 16.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.6613, allocations: 17.73 kB / 0.5448 GB, free: 16.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.6614, allocations: 14.81 kB / 0.5448 GB, free: 16.23 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.0001004/0.6615, allocations: 123.6 kB / 0.5449 GB, free: 16.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.6615, allocations: 6.938 kB / 0.5449 GB, free: 16.11 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007086/0.6622, allocations: 278.6 kB / 0.5452 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6622, allocations: 2.656 kB / 0.5452 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6623, allocations: 1 kB / 0.5452 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6623, allocations: 2.031 kB / 0.5452 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.6634, allocations: 0.5783 MB / 0.5458 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6634, allocations: 1.031 kB / 0.5458 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.6637, allocations: 52.47 kB / 0.5458 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6637, allocations: 4.625 kB / 0.5458 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.6638, allocations: 6.391 kB / 0.5458 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6638, allocations: 0.9688 kB / 0.5458 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6638, allocations: 2.125 kB / 0.5458 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.6644, allocations: 331.3 kB / 0.5461 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.6644, allocations: 86.73 kB / 0.5462 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.6644, allocations: 7.438 kB / 0.5462 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.6647, allocations: 15.17 kB / 0.5463 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.6648, allocations: 16.34 kB / 0.5463 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.6648, allocations: 14.47 kB / 0.5463 GB, free: 15.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.733e-05/0.6648, allocations: 85.14 kB / 0.5464 GB, free: 15.42 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6648, allocations: 0.7188 kB / 0.5464 GB, free: 15.42 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003348/0.6652, allocations: 45.22 kB / 0.5464 GB, free: 15.42 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.000187/0.6654, allocations: 127.5 kB / 0.5465 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000535/0.6659, allocations: 199.6 kB / 0.5467 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6659, allocations: 0.9375 kB / 0.5467 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.6662, allocations: 104 kB / 0.5468 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.6666, allocations: 36.88 kB / 0.5469 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000686/0.6673, allocations: 276.3 kB / 0.5471 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.6675, allocations: 0.694 MB / 0.5478 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002658/0.6678, allocations: 57.56 kB / 0.5478 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.6679, allocations: 29.08 kB / 0.5479 GB, free: 14.46 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6679, allocations: 0.8438 kB / 0.5479 GB, free: 14.46 MB / 478.1 MB Notification: Performance of Templates: time 0.005105/0.673, allocations: 3.068 MB / 0.5509 GB, free: 14.39 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/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