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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 112.8 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008743/0.0008744, allocations: 43.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.263, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3457/0.6087, allocations: 147 MB / 0.5336 GB, free: 12.11 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.611, allocations: 2.558 MB / 0.5361 GB, free: 11.95 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.611, allocations: 0 / 0.5361 GB, free: 11.95 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.6112, allocations: 23.61 kB / 0.5362 GB, free: 11.95 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008681/0.6121, allocations: 273.1 kB / 0.5364 GB, free: 11.88 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.6122, allocations: 54.78 kB / 0.5365 GB, free: 11.86 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.796e-05/0.6123, allocations: 72.05 kB / 0.5365 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.6124, allocations: 5.797 kB / 0.5365 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.6125, allocations: 31.75 kB / 0.5366 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.6126, allocations: 29.09 kB / 0.5366 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.6126, allocations: 2.906 kB / 0.5366 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006291/0.6132, allocations: 363.5 kB / 0.537 GB, free: 11.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.6133, allocations: 9 kB / 0.537 GB, free: 11.82 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.6133, allocations: 30.66 kB / 0.537 GB, free: 11.81 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.6137, allocations: 308.8 kB / 0.5373 GB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6138, allocations: 0 / 0.5373 GB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.6138, allocations: 0 / 0.5373 GB, free: 11.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.6138, allocations: 3 kB / 0.5373 GB, free: 11.79 MB / 394.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.000786/0.6146, allocations: 434.1 kB / 0.5377 GB, free: 11.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6146, allocations: 14.09 kB / 0.5377 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006191/0.6208, allocations: 452.4 kB / 0.5381 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.6209, allocations: 174.8 kB / 0.5383 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.6209, allocations: 2.156 kB / 0.5383 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/0.621, allocations: 12.22 kB / 0.5383 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007662/0.6218, allocations: 301.9 kB / 0.5386 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.6218, allocations: 2.781 kB / 0.5386 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.6219, allocations: 0 / 0.5386 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.6219, allocations: 7.281 kB / 0.5386 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007863/0.6227, allocations: 274 kB / 0.5389 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009813/0.6237, allocations: 423.7 kB / 0.5393 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009922/0.6247, allocations: 211.4 kB / 0.5395 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.6249, allocations: 68.48 kB / 0.5396 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.6249, allocations: 9.781 kB / 0.5396 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.625, allocations: 34.56 kB / 0.5396 GB, free: 10.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.625, allocations: 0 / 0.5396 GB, free: 10.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.00172/0.6267, allocations: 415.3 kB / 0.54 GB, free: 10.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.6267, allocations: 53.22 kB / 0.54 GB, free: 10.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.6268, allocations: 107.4 kB / 0.5401 GB, free: 10.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.6269, allocations: 25.7 kB / 0.5402 GB, free: 10.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.6269, allocations: 97.11 kB / 0.5403 GB, free: 9.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.627, allocations: 64.62 kB / 0.5403 GB, free: 9.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/0.6271, allocations: 43.33 kB / 0.5404 GB, free: 9.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6272, allocations: 320.4 kB / 0.5407 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.6275, allocations: 74.22 kB / 0.5407 GB, free: 9.574 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.6278, allocations: 119.6 kB / 0.5409 GB, free: 9.516 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.6283, allocations: 206.2 kB / 0.5411 GB, free: 9.441 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6283, allocations: 0 / 0.5411 GB, free: 9.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006363/0.629, allocations: 246.9 kB / 0.5413 GB, free: 9.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.629, allocations: 12 kB / 0.5413 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.629, allocations: 3.938 kB / 0.5413 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.629, allocations: 2.312 kB / 0.5413 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.6294, allocations: 51.17 kB / 0.5414 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.6294, allocations: 2.75 kB / 0.5414 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.6297, allocations: 14.08 kB / 0.5414 GB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.6298, allocations: 10.84 kB / 0.5414 GB, free: 9.336 MB / 394.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 0.0001076/0.6299, allocations: 130.5 kB / 0.5415 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.6299, allocations: 13.42 kB / 0.5415 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008368/0.6308, allocations: 271.9 kB / 0.5418 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.6308, allocations: 3.297 kB / 0.5418 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6308, allocations: 0 / 0.5418 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.6308, allocations: 2.219 kB / 0.5418 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.632, allocations: 0.5871 MB / 0.5424 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.6321, allocations: 5.094 kB / 0.5424 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.6324, allocations: 42.36 kB / 0.5424 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.6324, allocations: 5.875 kB / 0.5424 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.6325, allocations: 13.39 kB / 0.5424 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6325, allocations: 0 / 0.5424 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.6325, allocations: 7.875 kB / 0.5424 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.6337, allocations: 0.9583 MB / 0.5434 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.6338, allocations: 93.69 kB / 0.5435 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.6338, allocations: 3.188 kB / 0.5435 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.6341, allocations: 15.36 kB / 0.5435 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.6341, allocations: 16.69 kB / 0.5435 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.6342, allocations: 7.438 kB / 0.5435 GB, free: 7.758 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.6342, allocations: 82.14 kB / 0.5436 GB, free: 7.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6342, allocations: 0 / 0.5436 GB, free: 7.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004171/0.6347, allocations: 48.53 kB / 0.5436 GB, free: 7.676 MB / 394.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.0002135/0.6349, allocations: 122.7 kB / 0.5437 GB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005998/0.6355, allocations: 198.1 kB / 0.5439 GB, free: 7.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6355, allocations: 1.812 kB / 0.5439 GB, free: 7.531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.6358, allocations: 103.2 kB / 0.544 GB, free: 7.512 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.6363, allocations: 44.27 kB / 0.5441 GB, free: 7.492 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009001/0.6372, allocations: 457.7 kB / 0.5445 GB, free: 7.152 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.6375, allocations: 0.694 MB / 0.5452 GB, free: 6.449 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003881/0.6379, allocations: 62.86 kB / 0.5452 GB, free: 6.406 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.638, allocations: 34.53 kB / 0.5453 GB, free: 6.391 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6381, allocations: 1.203 kB / 0.5453 GB, free: 6.391 MB / 394.7 MB Notification: Performance of Templates: time 0.005508/0.6436, allocations: 2.999 MB / 0.5482 GB, free: 4.887 MB / 394.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches