Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008746/0.0008746, allocations: 184.7 kB / 16.72 MB, free: 4.84 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 225.7 MB / 243.2 MB, free: 8.492 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007513/0.0007514, allocations: 98.14 kB / 294.4 MB, free: 9.508 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002783, allocations: 11.94 kB / 354.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1779, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2953/0.4733, allocations: 137.5 MB / 0.5294 GB, free: 14.52 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.4757, allocations: 3.405 MB / 0.5327 GB, free: 13.15 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.4757, allocations: 4.5 kB / 0.5327 GB, free: 13.14 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.4758, allocations: 23.52 kB / 0.5327 GB, free: 13.14 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006497/0.4765, allocations: 276.5 kB / 0.533 GB, free: 13.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.4766, allocations: 45.64 kB / 0.533 GB, free: 13.06 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.4767, allocations: 74.47 kB / 0.5331 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.4768, allocations: 4.938 kB / 0.5331 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.4769, allocations: 29.66 kB / 0.5331 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.4769, allocations: 29.7 kB / 0.5332 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.477, allocations: 2.938 kB / 0.5332 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005748/0.4775, allocations: 369 kB / 0.5335 GB, free: 13.01 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.4776, allocations: 1.812 kB / 0.5335 GB, free: 13.01 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.4776, allocations: 58.75 kB / 0.5336 GB, free: 12.98 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.478, allocations: 299.1 kB / 0.5339 GB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4781, allocations: 1.344 kB / 0.5339 GB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4781, allocations: 0 / 0.5339 GB, free: 12.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.4781, allocations: 1.219 kB / 0.5339 GB, free: 12.96 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.0007094/0.4788, allocations: 423.3 kB / 0.5343 GB, free: 12.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.4788, allocations: 10.62 kB / 0.5343 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005216/0.484, allocations: 456.2 kB / 0.5347 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.236e-05/0.4841, allocations: 168.1 kB / 0.5349 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.4842, allocations: 6.562 kB / 0.5349 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.307e-05/0.4842, allocations: 16.16 kB / 0.5349 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.4849, allocations: 296.8 kB / 0.5352 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4849, allocations: 0 / 0.5352 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.485, allocations: 2.312 kB / 0.5352 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.485, allocations: 2.969 kB / 0.5352 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006809/0.4857, allocations: 277.2 kB / 0.5354 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008738/0.4865, allocations: 421.4 kB / 0.5358 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009809/0.4875, allocations: 216.1 kB / 0.536 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.4878, allocations: 71.17 kB / 0.5361 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.4878, allocations: 7.016 kB / 0.5361 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.4878, allocations: 34.47 kB / 0.5362 GB, free: 11.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.4878, allocations: 0 / 0.5362 GB, free: 11.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001578/0.4894, allocations: 414.8 kB / 0.5366 GB, free: 11.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.4895, allocations: 53.38 kB / 0.5366 GB, free: 11.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.093e-05/0.4895, allocations: 101.3 kB / 0.5367 GB, free: 11.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.4896, allocations: 34.48 kB / 0.5367 GB, free: 11.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.4896, allocations: 93.64 kB / 0.5368 GB, free: 11.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.4897, allocations: 64.84 kB / 0.5369 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.4897, allocations: 6.438 kB / 0.5369 GB, free: 11.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.4898, allocations: 315.5 kB / 0.5372 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.49, allocations: 73.34 kB / 0.5373 GB, free: 11.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.4903, allocations: 122.4 kB / 0.5374 GB, free: 11.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.4908, allocations: 204.5 kB / 0.5376 GB, free: 11.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4908, allocations: 3.938 kB / 0.5376 GB, free: 11.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005604/0.4913, allocations: 244.5 kB / 0.5378 GB, free: 10.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.4914, allocations: 5.656 kB / 0.5378 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4914, allocations: 0 / 0.5378 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4914, allocations: 2.625 kB / 0.5378 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.4918, allocations: 51.83 kB / 0.5379 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4918, allocations: 2.125 kB / 0.5379 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.492, allocations: 20.55 kB / 0.5379 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.4921, allocations: 15.53 kB / 0.5379 GB, free: 10.93 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 9.149e-05/0.4922, allocations: 127 kB / 0.538 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.4922, allocations: 9.922 kB / 0.538 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007397/0.4929, allocations: 269.1 kB / 0.5383 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.493, allocations: 7.328 kB / 0.5383 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.493, allocations: 7.984 kB / 0.5383 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.493, allocations: 4 kB / 0.5383 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.4941, allocations: 0.5889 MB / 0.5389 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4941, allocations: 2.469 kB / 0.5389 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.4944, allocations: 38.09 kB / 0.5389 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.4944, allocations: 6.922 kB / 0.5389 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.4944, allocations: 6.594 kB / 0.5389 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.4945, allocations: 2.875 kB / 0.5389 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4945, allocations: 7.875 kB / 0.5389 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.495, allocations: 324.4 kB / 0.5393 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.4951, allocations: 87.66 kB / 0.5393 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.4951, allocations: 2.906 kB / 0.5393 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.4954, allocations: 17.02 kB / 0.5394 GB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.4954, allocations: 23.7 kB / 0.5394 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.4954, allocations: 7.906 kB / 0.5394 GB, free: 9.941 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.206e-05/0.4955, allocations: 85.05 kB / 0.5395 GB, free: 9.863 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4955, allocations: 0 / 0.5395 GB, free: 9.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.4958, allocations: 40.5 kB / 0.5395 GB, free: 9.863 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.0001905/0.496, allocations: 129.5 kB / 0.5396 GB, free: 9.766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005282/0.4965, allocations: 200.7 kB / 0.5398 GB, free: 9.719 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4965, allocations: 0 / 0.5398 GB, free: 9.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.4968, allocations: 102.4 kB / 0.5399 GB, free: 9.695 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.4972, allocations: 42.66 kB / 0.54 GB, free: 9.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.4978, allocations: 311 kB / 0.5403 GB, free: 9.457 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.4981, allocations: 0.6939 MB / 0.5409 GB, free: 8.754 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003981/0.4985, allocations: 56.38 kB / 0.541 GB, free: 8.715 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.4986, allocations: 43.05 kB / 0.541 GB, free: 8.695 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4986, allocations: 0 / 0.541 GB, free: 8.695 MB / 394.7 MB Notification: Performance of Templates: time 0.005276/0.5039, allocations: 2.91 MB / 0.5439 GB, free: 7.23 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/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