Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 201.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007274/0.0007275, allocations: 89.88 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002037/0.0002039, allocations: 4 kB / 360.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1846, allocations: 51.4 MB / 412 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2962/0.4809, allocations: 141.4 MB / 0.5405 GB, free: 40 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.4823, allocations: 1.807 MB / 0.5423 GB, free: 15.56 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.4824, allocations: 3 kB / 0.5423 GB, free: 15.56 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.4827, allocations: 51.19 kB / 0.5423 GB, free: 15.55 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.483, allocations: 153.5 kB / 0.5425 GB, free: 15.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.4851, allocations: 0.89 MB / 0.5433 GB, free: 15.21 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.4855, allocations: 476.3 kB / 0.5438 GB, free: 15.06 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.4856, allocations: 12.97 kB / 0.5438 GB, free: 15.06 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.4858, allocations: 143.6 kB / 0.5439 GB, free: 15.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.486, allocations: 127 kB / 0.544 GB, free: 14.99 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.486, allocations: 12.72 kB / 0.5441 GB, free: 14.99 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.4881, allocations: 1.646 MB / 0.5457 GB, free: 14.51 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.4882, allocations: 63.03 kB / 0.5457 GB, free: 14.49 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.4884, allocations: 119.7 kB / 0.5458 GB, free: 14.45 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.4896, allocations: 1.046 MB / 0.5469 GB, free: 14.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4896, allocations: 0 / 0.5469 GB, free: 14.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4896, allocations: 4 kB / 0.5469 GB, free: 14.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.4896, allocations: 2.156 kB / 0.5469 GB, free: 14.07 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.001425/0.4911, allocations: 0.6355 MB / 0.5475 GB, free: 13.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4911, allocations: 12.58 kB / 0.5475 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.4912, allocations: 22.38 kB / 0.5475 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.4915, allocations: 216.2 kB / 0.5477 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.4915, allocations: 13.23 kB / 0.5477 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.4916, allocations: 18.03 kB / 0.5478 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.4921, allocations: 259.5 kB / 0.548 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4921, allocations: 6.906 kB / 0.548 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.4921, allocations: 5 kB / 0.548 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.4921, allocations: 7.938 kB / 0.548 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.4927, allocations: 265.6 kB / 0.5483 GB, free: 13.13 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.001253/0.494, allocations: 0.7825 MB / 0.549 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/0.4945, allocations: 228.5 kB / 0.5493 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.4949, allocations: 137.1 kB / 0.5494 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.4952, allocations: 361.5 kB / 0.5497 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.4952, allocations: 33.31 kB / 0.5498 GB, free: 11.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.413e-06/0.4952, allocations: 0 / 0.5498 GB, free: 11.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002102/0.4973, allocations: 0.6744 MB / 0.5504 GB, free: 11.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.4974, allocations: 83.58 kB / 0.5505 GB, free: 11.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/0.4974, allocations: 120.9 kB / 0.5506 GB, free: 11.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.4975, allocations: 35.55 kB / 0.5507 GB, free: 11.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.4975, allocations: 109.4 kB / 0.5508 GB, free: 11.44 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.148e-05/0.4976, allocations: 124.1 kB / 0.5509 GB, free: 11.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/0.4977, allocations: 5.812 kB / 0.5509 GB, free: 11.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4978, allocations: 324.5 kB / 0.5512 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.4981, allocations: 134.5 kB / 0.5513 GB, free: 11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.4985, allocations: 213.4 kB / 0.5515 GB, free: 10.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.4992, allocations: 355.9 kB / 0.5519 GB, free: 10.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4992, allocations: 0 / 0.5519 GB, free: 10.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000796/0.5, allocations: 410.4 kB / 0.5523 GB, free: 10.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.5, allocations: 5.406 kB / 0.5523 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.5, allocations: 2.906 kB / 0.5523 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5, allocations: 2.938 kB / 0.5523 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.5005, allocations: 93.44 kB / 0.5524 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.5005, allocations: 2.031 kB / 0.5524 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.5008, allocations: 30.08 kB / 0.5524 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.5008, allocations: 22.58 kB / 0.5524 GB, free: 10.61 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.0001298/0.501, allocations: 145.1 kB / 0.5525 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.5011, allocations: 26.39 kB / 0.5526 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.5014, allocations: 173.9 kB / 0.5527 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5014, allocations: 2.5 kB / 0.5527 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5014, allocations: 2.156 kB / 0.5527 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5014, allocations: 3.984 kB / 0.5527 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.5029, allocations: 0.7557 MB / 0.5535 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5029, allocations: 3.062 kB / 0.5535 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.5033, allocations: 83.03 kB / 0.5536 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.5033, allocations: 5.094 kB / 0.5536 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.5034, allocations: 6.281 kB / 0.5536 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5034, allocations: 3.25 kB / 0.5536 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5034, allocations: 4.359 kB / 0.5536 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.5045, allocations: 0.7135 MB / 0.5543 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.5046, allocations: 121.2 kB / 0.5544 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.5047, allocations: 9.625 kB / 0.5544 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.505, allocations: 18.17 kB / 0.5544 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.5051, allocations: 21.94 kB / 0.5544 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.5051, allocations: 23.83 kB / 0.5545 GB, free: 9.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.797e-05/0.5052, allocations: 97.7 kB / 0.5546 GB, free: 9.305 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5052, allocations: 0 / 0.5546 GB, free: 9.305 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004895/0.5057, allocations: 147.3 kB / 0.5547 GB, free: 9.281 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.0004122/0.5061, allocations: 262.6 kB / 0.5549 GB, free: 9.129 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007534/0.5068, allocations: 334.7 kB / 0.5553 GB, free: 9.062 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5069, allocations: 0 / 0.5553 GB, free: 9.062 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.5072, allocations: 175.5 kB / 0.5554 GB, free: 9.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006309/0.5079, allocations: 90.53 kB / 0.5555 GB, free: 8.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.5091, allocations: 0.7491 MB / 0.5563 GB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.5093, allocations: 0.7367 MB / 0.557 GB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003881/0.5097, allocations: 75.58 kB / 0.557 GB, free: 7.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.5099, allocations: 32.48 kB / 0.5571 GB, free: 7.699 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5099, allocations: 0 / 0.5571 GB, free: 7.699 MB / 394.7 MB Notification: Performance of Templates: time 0.008648/0.5185, allocations: 5.813 MB / 0.5628 GB, free: 4.785 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches