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.0012/0.0012, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008969/0.0008972, allocations: 96.08 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 45.15 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.603e-05/1.606e-05, allocations: 4 kB / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.893/8.002, allocations: 3.302 GB / 3.806 GB, free: 50.12 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/8.002, allocations: 70.88 kB / 3.806 GB, free: 50.06 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4369/8.439, allocations: 51.17 MB / 3.856 GB, free: 171.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.375e-06/8.439, allocations: 0.7188 kB / 3.856 GB, free: 171.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.414e-06/8.439, allocations: 0.5938 kB / 3.856 GB, free: 171.1 MB / 0.5261 GB 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.001276/8.441, allocations: 0.4969 MB / 3.857 GB, free: 170.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/8.441, allocations: 11.62 kB / 3.857 GB, free: 170.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/8.441, allocations: 7.062 kB / 3.857 GB, free: 170.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/8.441, allocations: 164.8 kB / 3.857 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/8.441, allocations: 1.844 kB / 3.857 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/8.441, allocations: 3.5 kB / 3.857 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001672/8.441, allocations: 53.3 kB / 3.857 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/8.441, allocations: 68.78 kB / 3.857 GB, free: 170.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/8.441, allocations: 3.422 kB / 3.857 GB, free: 170.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/8.441, allocations: 0 / 3.857 GB, free: 170.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/8.441, allocations: 11.77 kB / 3.857 GB, free: 170.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/8.442, allocations: 273.2 kB / 3.857 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.904e-05/8.442, allocations: 30.48 kB / 3.857 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/8.442, allocations: 12.27 kB / 3.857 GB, free: 170.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/8.442, allocations: 262 kB / 3.857 GB, free: 170 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/8.442, allocations: 35.56 kB / 3.857 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/8.442, allocations: 0.6562 kB / 3.857 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0004297/8.442, allocations: 96.5 kB / 3.858 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/8.442, allocations: 53.72 kB / 3.858 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.827e-05/8.443, allocations: 93.88 kB / 3.858 GB, free: 169.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/8.443, allocations: 25.7 kB / 3.858 GB, free: 169.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/8.443, allocations: 98.52 kB / 3.858 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/8.443, allocations: 11.97 kB / 3.858 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/8.443, allocations: 2.5 kB / 3.858 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.542e-05/8.443, allocations: 316.3 kB / 3.858 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/8.443, allocations: 10.16 kB / 3.858 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/8.443, allocations: 32.16 kB / 3.858 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/8.443, allocations: 62.73 kB / 3.858 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/8.443, allocations: 0 / 3.858 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002845/8.443, allocations: 114.8 kB / 3.858 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/8.443, allocations: 8.25 kB / 3.858 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/8.443, allocations: 7.141 kB / 3.858 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/8.443, allocations: 3.25 kB / 3.858 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/8.443, allocations: 15.02 kB / 3.858 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/8.443, allocations: 5.25 kB / 3.858 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/8.444, allocations: 12.28 kB / 3.858 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/8.444, allocations: 8.812 kB / 3.858 GB, free: 169.2 MB / 0.5261 GB 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 () * 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 5.347e-05/8.444, allocations: 101 kB / 3.858 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/8.444, allocations: 0 / 3.858 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/8.444, allocations: 120.5 kB / 3.859 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/8.444, allocations: 3.953 kB / 3.859 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/8.444, allocations: 0 / 3.859 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/8.444, allocations: 2.125 kB / 3.859 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/8.444, allocations: 144.3 kB / 3.859 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/8.444, allocations: 0 / 3.859 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/8.444, allocations: 5.125 kB / 3.859 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/8.444, allocations: 0 / 3.859 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/8.444, allocations: 6.281 kB / 3.859 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/8.444, allocations: 2.594 kB / 3.859 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/8.444, allocations: 3.75 kB / 3.859 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/8.444, allocations: 191.3 kB / 3.859 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/8.445, allocations: 85 kB / 3.859 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/8.445, allocations: 0 / 3.859 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-05/8.445, allocations: 8.75 kB / 3.859 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/8.445, allocations: 7.203 kB / 3.859 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/8.445, allocations: 0 / 3.859 GB, free: 168.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.128e-05/8.445, allocations: 86.14 kB / 3.859 GB, free: 168.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/8.445, allocations: 0 / 3.859 GB, free: 168.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007517/8.445, allocations: 196.3 kB / 3.859 GB, free: 168.6 MB / 0.5261 GB 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 () * 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.001458/8.447, allocations: 0.8154 MB / 3.86 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.915e-05/8.447, allocations: 29.56 kB / 3.86 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/8.447, allocations: 0 / 3.86 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.637e-05/8.447, allocations: 9.375 kB / 3.86 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/8.447, allocations: 3.25 kB / 3.86 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/8.447, allocations: 70.5 kB / 3.86 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/8.448, allocations: 0.6848 MB / 3.861 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.095e-05/8.448, allocations: 18.69 kB / 3.861 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/8.448, allocations: 13.72 kB / 3.861 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/8.448, allocations: 1.031 kB / 3.861 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.0128/8.461, allocations: 5.974 MB / 3.867 GB, free: 167.2 MB / 0.5261 GB 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/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