Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009632/0.000963, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.6 MB / 243.4 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008007/0.0008006, allocations: 96.75 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3213/0.3213, allocations: 44.82 MB / 392.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002429/0.000243, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2851, allocations: 62.96 MB / 0.5159 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1335/0.4186, allocations: 137 MB / 0.6497 GB, free: 80 kB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.4203, allocations: 1.224 MB / 0.6509 GB, free: 14.85 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.4203, allocations: 0 / 0.6509 GB, free: 14.85 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.4206, allocations: 39.8 kB / 0.6509 GB, free: 14.81 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.4228, allocations: 0.8327 MB / 0.6517 GB, free: 13.98 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.4228, allocations: 0 / 0.6517 GB, free: 13.98 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.423, allocations: 79.67 kB / 0.6518 GB, free: 13.9 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.423, allocations: 11.86 kB / 0.6518 GB, free: 13.89 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.4231, allocations: 15.94 kB / 0.6518 GB, free: 13.88 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.4231, allocations: 27.91 kB / 0.6518 GB, free: 13.85 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.414e-06/0.4232, allocations: 0 / 0.6518 GB, free: 13.85 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/0.4259, allocations: 1.872 MB / 0.6537 GB, free: 11.97 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.4259, allocations: 7.984 kB / 0.6537 GB, free: 11.96 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.426, allocations: 37.64 kB / 0.6537 GB, free: 11.92 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008837/0.4269, allocations: 0.637 MB / 0.6543 GB, free: 11.29 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4269, allocations: 0 / 0.6543 GB, free: 11.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4269, allocations: 0 / 0.6543 GB, free: 11.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.4269, allocations: 0 / 0.6543 GB, free: 11.29 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.0006236/0.4275, allocations: 495.2 kB / 0.6548 GB, free: 10.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4276, allocations: 12.02 kB / 0.6548 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.4276, allocations: 8.828 kB / 0.6548 GB, free: 10.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.467e-05/0.4277, allocations: 171.5 kB / 0.655 GB, free: 10.53 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.4277, allocations: 0 / 0.655 GB, free: 10.53 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.4277, allocations: 11.94 kB / 0.655 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.4279, allocations: 65.67 kB / 0.6551 GB, free: 10.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.4279, allocations: 0 / 0.6551 GB, free: 10.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.4279, allocations: 4 kB / 0.6551 GB, free: 10.44 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.4279, allocations: 8 kB / 0.6551 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.428, allocations: 51.97 kB / 0.6551 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.4284, allocations: 308.6 kB / 0.6554 GB, free: 10.03 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.346e-05/0.4285, allocations: 30.58 kB / 0.6555 GB, free: 9.992 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.4285, allocations: 16.94 kB / 0.6555 GB, free: 9.973 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.4287, allocations: 255.3 kB / 0.6557 GB, free: 9.668 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.4287, allocations: 38.5 kB / 0.6558 GB, free: 9.621 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4287, allocations: 0 / 0.6558 GB, free: 9.621 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001478/0.4289, allocations: 61.61 kB / 0.6558 GB, free: 9.555 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.4289, allocations: 55.41 kB / 0.6559 GB, free: 9.488 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.429, allocations: 97.86 kB / 0.656 GB, free: 9.383 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.429, allocations: 25.7 kB / 0.656 GB, free: 9.352 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.4291, allocations: 95.88 kB / 0.6561 GB, free: 9.254 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.4291, allocations: 15.81 kB / 0.6561 GB, free: 9.238 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.4291, allocations: 4 kB / 0.6561 GB, free: 9.234 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.4292, allocations: 310.8 kB / 0.6564 GB, free: 8.922 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/0.4292, allocations: 15.98 kB / 0.6564 GB, free: 8.906 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.4293, allocations: 31.42 kB / 0.6564 GB, free: 8.863 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.4293, allocations: 47.38 kB / 0.6565 GB, free: 8.805 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4293, allocations: 0 / 0.6565 GB, free: 8.805 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001017/0.4294, allocations: 85.42 kB / 0.6566 GB, free: 8.715 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.4295, allocations: 6.969 kB / 0.6566 GB, free: 8.711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4295, allocations: 0 / 0.6566 GB, free: 8.711 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.4295, allocations: 4 kB / 0.6566 GB, free: 8.707 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.4296, allocations: 12.42 kB / 0.6566 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4296, allocations: 4 kB / 0.6566 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.874e-05/0.4296, allocations: 12.02 kB / 0.6566 GB, free: 8.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.4296, allocations: 4 kB / 0.6566 GB, free: 8.676 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.4297, allocations: 113.8 kB / 0.6567 GB, free: 8.555 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.4297, allocations: 7.844 kB / 0.6567 GB, free: 8.547 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.4299, allocations: 73.09 kB / 0.6568 GB, free: 8.473 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4299, allocations: 4 kB / 0.6568 GB, free: 8.469 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4299, allocations: 4 kB / 0.6568 GB, free: 8.465 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.4299, allocations: 0 / 0.6568 GB, free: 8.465 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.43, allocations: 157.8 kB / 0.6569 GB, free: 8.262 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4301, allocations: 3.938 kB / 0.6569 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.4301, allocations: 15.92 kB / 0.657 GB, free: 8.242 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4301, allocations: 0 / 0.657 GB, free: 8.242 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.4301, allocations: 0 / 0.657 GB, free: 8.242 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4301, allocations: 0 / 0.657 GB, free: 8.242 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4301, allocations: 0 / 0.657 GB, free: 8.242 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.4302, allocations: 151.5 kB / 0.6571 GB, free: 8.078 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.4303, allocations: 84.95 kB / 0.6572 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.4303, allocations: 4 kB / 0.6572 GB, free: 7.973 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.4304, allocations: 4 kB / 0.6572 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.4304, allocations: 3.984 kB / 0.6572 GB, free: 7.965 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4304, allocations: 4 kB / 0.6572 GB, free: 7.961 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.993e-05/0.4304, allocations: 79.28 kB / 0.6573 GB, free: 7.883 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4304, allocations: 0 / 0.6573 GB, free: 7.883 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004277/0.4309, allocations: 143.8 kB / 0.6574 GB, free: 7.742 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006988/0.4316, allocations: 324.9 kB / 0.6577 GB, free: 7.426 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.554e-05/0.4317, allocations: 39.84 kB / 0.6578 GB, free: 7.387 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4317, allocations: 0 / 0.6578 GB, free: 7.387 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.565e-05/0.4317, allocations: 8 kB / 0.6578 GB, free: 7.379 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.4319, allocations: 20.11 kB / 0.6578 GB, free: 7.359 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.4322, allocations: 186.4 kB / 0.658 GB, free: 7.141 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.4325, allocations: 0.6809 MB / 0.6586 GB, free: 6.434 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.4325, allocations: 11.44 kB / 0.6586 GB, free: 6.422 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4325, allocations: 4 kB / 0.6586 GB, free: 6.418 MB / 474.7 MB Notification: Performance of Templates: time 0.004699/0.4372, allocations: 2.939 MB / 0.6615 GB, free: 3.48 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches