Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001575, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008065/0.0008065, allocations: 97.5 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001948/0.0001948, allocations: 4 kB / 360.6 MB, free: 8.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1797, allocations: 51.41 MB / 412 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2884/0.4682, allocations: 137.8 MB / 0.537 GB, free: 14.42 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.4706, allocations: 3.406 MB / 0.5403 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.4707, allocations: 0 / 0.5403 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.4708, allocations: 29.98 kB / 0.5403 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007438/0.4716, allocations: 266.1 kB / 0.5406 GB, free: 12.97 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.4717, allocations: 48.77 kB / 0.5406 GB, free: 12.96 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.33e-05/0.4718, allocations: 76.69 kB / 0.5407 GB, free: 12.94 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.275e-05/0.4719, allocations: 2.562 kB / 0.5407 GB, free: 12.94 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/0.472, allocations: 33.95 kB / 0.5407 GB, free: 12.93 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.897e-05/0.4721, allocations: 28.56 kB / 0.5407 GB, free: 12.93 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.856e-06/0.4721, allocations: 3 kB / 0.5407 GB, free: 12.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006671/0.4727, allocations: 369 kB / 0.5411 GB, free: 12.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.4728, allocations: 14.69 kB / 0.5411 GB, free: 12.9 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.4728, allocations: 49.88 kB / 0.5412 GB, free: 12.87 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.4733, allocations: 299.8 kB / 0.5414 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4733, allocations: 6.188 kB / 0.5414 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4734, allocations: 0 / 0.5414 GB, free: 12.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.4734, allocations: 0 / 0.5414 GB, free: 12.86 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.0007922/0.4742, allocations: 427.4 kB / 0.5419 GB, free: 12.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.4742, allocations: 11.5 kB / 0.5419 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005676/0.4799, allocations: 452.7 kB / 0.5423 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.525e-05/0.48, allocations: 174.9 kB / 0.5425 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.48, allocations: 7.812 kB / 0.5425 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-05/0.4801, allocations: 13.12 kB / 0.5425 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.4808, allocations: 297.8 kB / 0.5428 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4808, allocations: 0 / 0.5428 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.4809, allocations: 1.859 kB / 0.5428 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4809, allocations: 2.906 kB / 0.5428 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007252/0.4816, allocations: 284.2 kB / 0.543 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009119/0.4825, allocations: 422.9 kB / 0.5434 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009246/0.4835, allocations: 203.4 kB / 0.5436 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.4836, allocations: 68.44 kB / 0.5437 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4837, allocations: 8.938 kB / 0.5437 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.4837, allocations: 35.5 kB / 0.5438 GB, free: 11.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.4837, allocations: 0 / 0.5438 GB, free: 11.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001544/0.4853, allocations: 415.2 kB / 0.5441 GB, free: 11.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.4853, allocations: 62.27 kB / 0.5442 GB, free: 11.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.217e-05/0.4854, allocations: 101 kB / 0.5443 GB, free: 11.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.4854, allocations: 25.7 kB / 0.5443 GB, free: 11.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.4854, allocations: 97.3 kB / 0.5444 GB, free: 11.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.4855, allocations: 66 kB / 0.5445 GB, free: 10.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/0.4855, allocations: 3.312 kB / 0.5445 GB, free: 10.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.4856, allocations: 315.5 kB / 0.5448 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.4859, allocations: 76.06 kB / 0.5449 GB, free: 10.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.4861, allocations: 127.2 kB / 0.545 GB, free: 10.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/0.4866, allocations: 198.7 kB / 0.5452 GB, free: 10.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4866, allocations: 3.938 kB / 0.5452 GB, free: 10.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005742/0.4872, allocations: 248.8 kB / 0.5454 GB, free: 10.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4872, allocations: 6.031 kB / 0.5454 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4872, allocations: 1.859 kB / 0.5454 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4873, allocations: 4.875 kB / 0.5454 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.4876, allocations: 55.58 kB / 0.5455 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4876, allocations: 0 / 0.5455 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.4879, allocations: 14.98 kB / 0.5455 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.4879, allocations: 12.86 kB / 0.5455 GB, free: 10.41 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.978e-05/0.488, allocations: 131.5 kB / 0.5456 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.4881, allocations: 3.344 kB / 0.5456 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007529/0.4888, allocations: 281.3 kB / 0.5459 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4889, allocations: 0 / 0.5459 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4889, allocations: 1.75 kB / 0.5459 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4889, allocations: 0 / 0.5459 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.49, allocations: 0.5861 MB / 0.5465 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.49, allocations: 2.875 kB / 0.5465 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.4904, allocations: 50.05 kB / 0.5465 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.4904, allocations: 6.5 kB / 0.5465 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.4904, allocations: 6.188 kB / 0.5465 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4904, allocations: 2.906 kB / 0.5465 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4904, allocations: 3.938 kB / 0.5465 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.491, allocations: 330.4 kB / 0.5469 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.4911, allocations: 87.78 kB / 0.5469 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.4911, allocations: 2.688 kB / 0.5469 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.4914, allocations: 12.98 kB / 0.547 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.4914, allocations: 22.92 kB / 0.547 GB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.4914, allocations: 9.703 kB / 0.547 GB, free: 9.426 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.182e-05/0.4915, allocations: 83.66 kB / 0.5471 GB, free: 9.352 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.4915, allocations: 0 / 0.5471 GB, free: 9.352 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.4918, allocations: 44.56 kB / 0.5471 GB, free: 9.352 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.0001979/0.492, allocations: 132.2 kB / 0.5472 GB, free: 9.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005494/0.4926, allocations: 197.8 kB / 0.5474 GB, free: 9.203 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4926, allocations: 256 / 0.5474 GB, free: 9.203 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.4928, allocations: 106.8 kB / 0.5475 GB, free: 9.176 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.4932, allocations: 38.88 kB / 0.5476 GB, free: 9.164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/0.4939, allocations: 318.6 kB / 0.5479 GB, free: 8.934 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.4942, allocations: 0.6929 MB / 0.5485 GB, free: 8.227 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004113/0.4946, allocations: 64.83 kB / 0.5486 GB, free: 8.184 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.4948, allocations: 32.19 kB / 0.5486 GB, free: 8.168 MB / 394.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4948, allocations: 0 / 0.5486 GB, free: 8.168 MB / 394.7 MB Notification: Performance of Templates: time 0.005392/0.5002, allocations: 2.951 MB / 0.5515 GB, free: 6.672 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches