Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.331/1.331, allocations: 222.9 MB / 241.6 MB, free: 11 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.001018/0.001018, allocations: 101.2 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3066/0.3066, allocations: 44.12 MB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 55.91 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2764, allocations: 60.8 MB / 0.5064 GB, free: 38.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1443/0.4207, allocations: 148.8 MB / 0.6517 GB, free: 10.85 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.4226, allocations: 1.426 MB / 0.6531 GB, free: 9.422 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.4226, allocations: 0 / 0.6531 GB, free: 9.422 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.4229, allocations: 39.86 kB / 0.6531 GB, free: 9.383 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.4253, allocations: 0.8693 MB / 0.654 GB, free: 8.516 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.877e-06/0.4254, allocations: 0 / 0.654 GB, free: 8.516 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.4255, allocations: 103.6 kB / 0.6541 GB, free: 8.414 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.4256, allocations: 0 / 0.6541 GB, free: 8.414 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.981e-05/0.4256, allocations: 19.94 kB / 0.6541 GB, free: 8.395 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/0.4257, allocations: 27.84 kB / 0.6541 GB, free: 8.367 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.4257, allocations: 0 / 0.6541 GB, free: 8.367 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.4285, allocations: 1.856 MB / 0.6559 GB, free: 6.508 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.4285, allocations: 11.98 kB / 0.6559 GB, free: 6.496 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.4286, allocations: 11.94 kB / 0.656 GB, free: 6.484 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.4301, allocations: 0.9394 MB / 0.6569 GB, free: 5.543 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4301, allocations: 0 / 0.6569 GB, free: 5.543 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4301, allocations: 0 / 0.6569 GB, free: 5.543 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.4301, allocations: 0 / 0.6569 GB, free: 5.543 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007677/0.4309, allocations: 487.2 kB / 0.6573 GB, free: 5.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.431, allocations: 8.031 kB / 0.6573 GB, free: 5.012 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.431, allocations: 8.844 kB / 0.6574 GB, free: 5.004 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.4311, allocations: 171.5 kB / 0.6575 GB, free: 4.797 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.4311, allocations: 4 kB / 0.6575 GB, free: 4.793 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.4311, allocations: 7.938 kB / 0.6575 GB, free: 4.785 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.4313, allocations: 77.66 kB / 0.6576 GB, free: 4.703 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.4313, allocations: 0 / 0.6576 GB, free: 4.703 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.4314, allocations: 0 / 0.6576 GB, free: 4.703 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.4314, allocations: 11.94 kB / 0.6576 GB, free: 4.691 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.41e-05/0.4315, allocations: 51.91 kB / 0.6577 GB, free: 4.641 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.432, allocations: 300.6 kB / 0.658 GB, free: 4.297 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.056e-05/0.4321, allocations: 38.56 kB / 0.658 GB, free: 4.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.4321, allocations: 16.86 kB / 0.658 GB, free: 4.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.4324, allocations: 255.4 kB / 0.6582 GB, free: 3.926 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4324, allocations: 34.5 kB / 0.6583 GB, free: 3.883 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.4325, allocations: 0 / 0.6583 GB, free: 3.883 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001766/0.4326, allocations: 61.62 kB / 0.6583 GB, free: 3.816 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.4327, allocations: 51.41 kB / 0.6584 GB, free: 3.754 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.4328, allocations: 105.8 kB / 0.6585 GB, free: 3.641 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.4328, allocations: 25.7 kB / 0.6585 GB, free: 3.609 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.4328, allocations: 99.88 kB / 0.6586 GB, free: 3.508 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.4329, allocations: 15.8 kB / 0.6586 GB, free: 3.492 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.4329, allocations: 21.72 kB / 0.6586 GB, free: 3.465 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.433, allocations: 314.8 kB / 0.6589 GB, free: 3.148 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.4331, allocations: 12 kB / 0.659 GB, free: 3.137 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.4331, allocations: 35.42 kB / 0.659 GB, free: 3.09 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.822e-05/0.4332, allocations: 43.38 kB / 0.659 GB, free: 3.035 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4332, allocations: 0 / 0.659 GB, free: 3.035 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001165/0.4333, allocations: 81.48 kB / 0.6591 GB, free: 2.949 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4333, allocations: 4.094 kB / 0.6591 GB, free: 2.945 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4333, allocations: 4 kB / 0.6591 GB, free: 2.941 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4334, allocations: 4 kB / 0.6591 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.4334, allocations: 12 kB / 0.6591 GB, free: 2.926 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4335, allocations: 7.984 kB / 0.6591 GB, free: 2.918 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.386e-05/0.4335, allocations: 3.906 kB / 0.6591 GB, free: 2.914 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.4335, allocations: 4.531 kB / 0.6592 GB, free: 2.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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 7.465e-05/0.4336, allocations: 121.7 kB / 0.6593 GB, free: 2.781 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.4336, allocations: 3.938 kB / 0.6593 GB, free: 2.777 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.4338, allocations: 81.23 kB / 0.6593 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4338, allocations: 0 / 0.6593 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4338, allocations: 0 / 0.6593 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4338, allocations: 3.938 kB / 0.6594 GB, free: 2.691 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.434, allocations: 157.7 kB / 0.6595 GB, free: 2.488 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.434, allocations: 0 / 0.6595 GB, free: 2.488 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.434, allocations: 15.92 kB / 0.6595 GB, free: 2.473 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.434, allocations: 4 kB / 0.6595 GB, free: 2.469 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.434, allocations: 4 kB / 0.6595 GB, free: 2.465 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4341, allocations: 4 kB / 0.6595 GB, free: 2.461 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4341, allocations: 0 / 0.6595 GB, free: 2.461 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.4344, allocations: 0.7005 MB / 0.6602 GB, free: 1.703 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.4345, allocations: 77.11 kB / 0.6603 GB, free: 1.609 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.4345, allocations: 0 / 0.6603 GB, free: 1.609 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.581e-05/0.4345, allocations: 4 kB / 0.6603 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.4346, allocations: 11.98 kB / 0.6603 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.4346, allocations: 0 / 0.6603 GB, free: 1.594 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.52e-05/0.4346, allocations: 79.28 kB / 0.6604 GB, free: 1.516 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.054e-06/0.4346, allocations: 0 / 0.6604 GB, free: 1.516 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006589/0.4353, allocations: 151.7 kB / 0.6605 GB, free: 1.367 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.001006/0.4363, allocations: 313.2 kB / 0.6608 GB, free: 1.062 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.4364, allocations: 31.97 kB / 0.6609 GB, free: 1.031 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4364, allocations: 0 / 0.6609 GB, free: 1.031 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.325e-05/0.4365, allocations: 19.92 kB / 0.6609 GB, free: 1.012 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.4368, allocations: 4 kB / 0.6609 GB, free: 1.008 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.4372, allocations: 268.5 kB / 0.6611 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.4375, allocations: 0.6848 MB / 0.6618 GB, free: 15.99 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.887e-05/0.4376, allocations: 11.94 kB / 0.6618 GB, free: 15.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.4376, allocations: 15.44 kB / 0.6618 GB, free: 15.97 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4376, allocations: 0 / 0.6618 GB, free: 15.97 MB / 490.7 MB Notification: Performance of Templates: time 0.006178/0.4438, allocations: 3.284 MB / 0.665 GB, free: 12.69 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches