Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 101.4 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.358/0.358, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.83 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2971, allocations: 62.02 MB / 0.5151 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1481/0.4452, allocations: 148.9 MB / 0.6605 GB, free: 4.254 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.447, allocations: 1.429 MB / 0.6619 GB, free: 2.82 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.4471, allocations: 0 / 0.6619 GB, free: 2.82 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.4474, allocations: 43.8 kB / 0.662 GB, free: 2.777 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.4497, allocations: 0.8469 MB / 0.6628 GB, free: 1.93 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.4497, allocations: 0 / 0.6628 GB, free: 1.93 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.4498, allocations: 103.6 kB / 0.6629 GB, free: 1.828 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.05e-05/0.4498, allocations: 4 kB / 0.6629 GB, free: 1.824 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.4499, allocations: 19.92 kB / 0.6629 GB, free: 1.805 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.45, allocations: 27.91 kB / 0.6629 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.45, allocations: 0 / 0.6629 GB, free: 1.777 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.4527, allocations: 1.887 MB / 0.6648 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.4528, allocations: 19.91 kB / 0.6648 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.4528, allocations: 11.94 kB / 0.6648 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.4543, allocations: 0.9511 MB / 0.6657 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4543, allocations: 3.938 kB / 0.6657 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.4543, allocations: 0 / 0.6657 GB, free: 14.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.4543, allocations: 0 / 0.6657 GB, free: 14.9 MB / 490.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.0006922/0.455, allocations: 491.2 kB / 0.6662 GB, free: 14.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.4551, allocations: 8.031 kB / 0.6662 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.4551, allocations: 8.844 kB / 0.6662 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.744e-05/0.4552, allocations: 171.6 kB / 0.6664 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.4552, allocations: 4 kB / 0.6664 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.4553, allocations: 0 / 0.6664 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.4554, allocations: 77.55 kB / 0.6665 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4555, allocations: 4 kB / 0.6665 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.4555, allocations: 3.984 kB / 0.6665 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.4555, allocations: 7.984 kB / 0.6665 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.616e-05/0.4556, allocations: 47.97 kB / 0.6665 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.456, allocations: 300.7 kB / 0.6668 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.546e-05/0.4561, allocations: 42.5 kB / 0.6668 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.4561, allocations: 12.86 kB / 0.6669 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.4564, allocations: 255.4 kB / 0.6671 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.4564, allocations: 42.5 kB / 0.6671 GB, free: 13.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4564, allocations: 0 / 0.6671 GB, free: 13.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001746/0.4566, allocations: 53.8 kB / 0.6672 GB, free: 13.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.4566, allocations: 55.34 kB / 0.6672 GB, free: 13.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.426e-05/0.4567, allocations: 109.8 kB / 0.6674 GB, free: 12.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.4567, allocations: 25.7 kB / 0.6674 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.4568, allocations: 91.89 kB / 0.6675 GB, free: 12.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.4568, allocations: 19.8 kB / 0.6675 GB, free: 12.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.4569, allocations: 17.72 kB / 0.6675 GB, free: 12.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.457, allocations: 310.8 kB / 0.6678 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.457, allocations: 19.98 kB / 0.6678 GB, free: 12.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.2e-05/0.4571, allocations: 35.42 kB / 0.6679 GB, free: 12.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.894e-05/0.4571, allocations: 47.36 kB / 0.6679 GB, free: 12.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4571, allocations: 0 / 0.6679 GB, free: 12.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001136/0.4573, allocations: 81.92 kB / 0.668 GB, free: 12.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4573, allocations: 4 kB / 0.668 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4573, allocations: 4 kB / 0.668 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4573, allocations: 48 / 0.668 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.439e-05/0.4574, allocations: 19.92 kB / 0.668 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4574, allocations: 0 / 0.668 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.4575, allocations: 11.84 kB / 0.668 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.4575, allocations: 0 / 0.668 GB, free: 12.26 MB / 490.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.577e-05/0.4576, allocations: 121.9 kB / 0.6681 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.4576, allocations: 7.938 kB / 0.6681 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.4578, allocations: 65.11 kB / 0.6682 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4578, allocations: 0 / 0.6682 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4578, allocations: 3.938 kB / 0.6682 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4578, allocations: 4 kB / 0.6682 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.458, allocations: 161.7 kB / 0.6684 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.458, allocations: 4 kB / 0.6684 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.458, allocations: 11.94 kB / 0.6684 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.458, allocations: 0 / 0.6684 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.458, allocations: 4 kB / 0.6684 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.458, allocations: 3.984 kB / 0.6684 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.458, allocations: 0 / 0.6684 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.4584, allocations: 0.7083 MB / 0.6691 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.4584, allocations: 77.11 kB / 0.6691 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.4585, allocations: 0 / 0.6691 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.4585, allocations: 0 / 0.6691 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.4585, allocations: 7.938 kB / 0.6692 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.4585, allocations: 0 / 0.6692 GB, free: 10.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.199e-05/0.4586, allocations: 83.27 kB / 0.6692 GB, free: 10.87 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4586, allocations: 0 / 0.6692 GB, free: 10.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005449/0.4591, allocations: 151.8 kB / 0.6694 GB, free: 10.72 MB / 490.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.000824/0.46, allocations: 333 kB / 0.6697 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.972e-05/0.4601, allocations: 27.92 kB / 0.6697 GB, free: 10.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4601, allocations: 0 / 0.6697 GB, free: 10.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/0.4601, allocations: 8 kB / 0.6697 GB, free: 10.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.4604, allocations: 18.69 kB / 0.6697 GB, free: 10.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.4607, allocations: 272.5 kB / 0.67 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.461, allocations: 0.6809 MB / 0.6707 GB, free: 9.328 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.633e-05/0.4611, allocations: 12 kB / 0.6707 GB, free: 9.316 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.4611, allocations: 15.42 kB / 0.6707 GB, free: 9.301 MB / 490.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4611, allocations: 0 / 0.6707 GB, free: 9.301 MB / 490.7 MB Notification: Performance of Templates: time 0.006096/0.4672, allocations: 3.365 MB / 0.674 GB, free: 5.941 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches