Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008924/0.0008924, allocations: 182.3 kB / 16.71 MB, free: 4.969 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.221/1.221, allocations: 225.7 MB / 243.2 MB, free: 8.523 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.000746/0.0007461, allocations: 99.31 kB / 294.4 MB, free: 9.508 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002201/0.0002201, allocations: 8 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1835, allocations: 50.41 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2947/0.4782, allocations: 141 MB / 0.5328 GB, free: 15.98 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.4799, allocations: 1.816 MB / 0.5345 GB, free: 15.5 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.4801, allocations: 4 kB / 0.5346 GB, free: 15.5 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.4804, allocations: 54.09 kB / 0.5346 GB, free: 15.48 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.4807, allocations: 143.9 kB / 0.5347 GB, free: 15.45 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.4827, allocations: 0.884 MB / 0.5356 GB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.4833, allocations: 488.2 kB / 0.5361 GB, free: 15.25 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.4833, allocations: 7.891 kB / 0.5361 GB, free: 15.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.4836, allocations: 142.7 kB / 0.5362 GB, free: 15.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.4838, allocations: 125.9 kB / 0.5363 GB, free: 15.23 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.4838, allocations: 8.938 kB / 0.5363 GB, free: 15.23 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.4859, allocations: 1.624 MB / 0.5379 GB, free: 14.88 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.767e-05/0.486, allocations: 65.92 kB / 0.538 GB, free: 14.86 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.4861, allocations: 114.2 kB / 0.5381 GB, free: 14.82 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.4873, allocations: 1.027 MB / 0.5391 GB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4874, allocations: 2.969 kB / 0.5391 GB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4874, allocations: 0 / 0.5391 GB, free: 14.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.4874, allocations: 0 / 0.5391 GB, free: 14.45 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001475/0.4889, allocations: 0.6339 MB / 0.5397 GB, free: 13.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4889, allocations: 8.75 kB / 0.5397 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.489, allocations: 22.22 kB / 0.5398 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.4893, allocations: 216.8 kB / 0.54 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.4893, allocations: 9.953 kB / 0.54 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.4893, allocations: 15.97 kB / 0.54 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.4898, allocations: 268.3 kB / 0.5402 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4899, allocations: 4 kB / 0.5402 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.4899, allocations: 6.25 kB / 0.5403 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.4899, allocations: 5.594 kB / 0.5403 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.4905, allocations: 262.3 kB / 0.5405 GB, free: 13.51 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.4917, allocations: 0.7939 MB / 0.5413 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.4923, allocations: 219.2 kB / 0.5415 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.4926, allocations: 135.6 kB / 0.5416 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.4928, allocations: 352 kB / 0.542 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.4929, allocations: 41 kB / 0.542 GB, free: 12.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.4929, allocations: 0 / 0.542 GB, free: 12.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002067/0.4949, allocations: 0.6756 MB / 0.5427 GB, free: 12.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.495, allocations: 79.58 kB / 0.5427 GB, free: 12.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.4951, allocations: 125.2 kB / 0.5428 GB, free: 11.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.4951, allocations: 39.89 kB / 0.5429 GB, free: 11.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.4952, allocations: 105.8 kB / 0.543 GB, free: 11.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/0.4953, allocations: 126.4 kB / 0.5431 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.4953, allocations: 5.812 kB / 0.5431 GB, free: 11.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.4954, allocations: 332.2 kB / 0.5434 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.4957, allocations: 127.5 kB / 0.5436 GB, free: 11.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.4961, allocations: 210.8 kB / 0.5438 GB, free: 11.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006523/0.4967, allocations: 359.6 kB / 0.5441 GB, free: 11.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4967, allocations: 0 / 0.5441 GB, free: 11.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007927/0.4975, allocations: 404.7 kB / 0.5445 GB, free: 11.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.4976, allocations: 5.375 kB / 0.5445 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4976, allocations: 2.906 kB / 0.5445 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4976, allocations: 6.734 kB / 0.5445 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.498, allocations: 85.72 kB / 0.5446 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.4981, allocations: 3.438 kB / 0.5446 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.4984, allocations: 40.03 kB / 0.5446 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.4984, allocations: 22.22 kB / 0.5446 GB, free: 10.99 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0001161/0.4985, allocations: 141.8 kB / 0.5448 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.4986, allocations: 19.75 kB / 0.5448 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.4989, allocations: 178.5 kB / 0.545 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4989, allocations: 4.969 kB / 0.545 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4989, allocations: 0 / 0.545 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4989, allocations: 4 kB / 0.545 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.5004, allocations: 0.7622 MB / 0.5457 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5004, allocations: 3.281 kB / 0.5457 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.5008, allocations: 77.42 kB / 0.5458 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.5008, allocations: 1.844 kB / 0.5458 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.5008, allocations: 20.33 kB / 0.5458 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5009, allocations: 2.562 kB / 0.5458 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5009, allocations: 0 / 0.5458 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.502, allocations: 0.7089 MB / 0.5465 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/0.5021, allocations: 113.1 kB / 0.5466 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.5021, allocations: 15.33 kB / 0.5466 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.5025, allocations: 21.7 kB / 0.5467 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.5025, allocations: 22.5 kB / 0.5467 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.5026, allocations: 18.48 kB / 0.5467 GB, free: 9.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.762e-05/0.5026, allocations: 94.64 kB / 0.5468 GB, free: 9.695 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.794e-06/0.5026, allocations: 4.062 kB / 0.5468 GB, free: 9.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004797/0.5031, allocations: 141.8 kB / 0.5469 GB, free: 9.672 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * 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 (38): * Single equations (assignments): 38 * 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.0003883/0.5035, allocations: 232.2 kB / 0.5471 GB, free: 9.539 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007413/0.5043, allocations: 331 kB / 0.5475 GB, free: 9.477 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5043, allocations: 0 / 0.5475 GB, free: 9.477 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.5046, allocations: 179.6 kB / 0.5476 GB, free: 9.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.5053, allocations: 103.4 kB / 0.5477 GB, free: 9.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.5065, allocations: 0.7478 MB / 0.5485 GB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.5067, allocations: 0.7328 MB / 0.5492 GB, free: 8.156 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000378/0.5071, allocations: 79.48 kB / 0.5493 GB, free: 8.113 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.5072, allocations: 30.2 kB / 0.5493 GB, free: 8.102 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5072, allocations: 0 / 0.5493 GB, free: 8.102 MB / 394.7 MB Notification: Performance of Templates: time 0.008354/0.5156, allocations: 5.69 MB / 0.5548 GB, free: 5.258 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches