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.001556/0.001556, allocations: 194.3 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 226.5 MB / 244.1 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008333/0.0008333, allocations: 97.66 kB / 296.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.399/0.399, allocations: 44.81 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003759, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3889, allocations: 62.95 MB / 0.5165 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.112/6.501, allocations: 3.31 GB / 3.826 GB, free: 123 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000392/6.501, allocations: 82.62 kB / 3.826 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1123/6.614, allocations: 52.22 MB / 3.877 GB, free: 70.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.914e-06/6.614, allocations: 0 / 3.877 GB, free: 70.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.322e-06/6.614, allocations: 0 / 3.877 GB, free: 70.21 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.001027/6.615, allocations: 0.5223 MB / 3.878 GB, free: 69.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/6.615, allocations: 12.03 kB / 3.878 GB, free: 69.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/6.615, allocations: 0.9375 kB / 3.878 GB, free: 69.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.194e-05/6.615, allocations: 164.4 kB / 3.878 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/6.615, allocations: 4.516 kB / 3.878 GB, free: 69.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/6.615, allocations: 4.375 kB / 3.878 GB, free: 69.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/6.615, allocations: 74.17 kB / 3.878 GB, free: 69.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/6.615, allocations: 192 / 3.878 GB, free: 69.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/6.615, allocations: 3.938 kB / 3.878 GB, free: 69.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/6.615, allocations: 11.98 kB / 3.878 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/6.615, allocations: 51.97 kB / 3.878 GB, free: 69.27 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/6.616, allocations: 308.5 kB / 3.878 GB, free: 68.92 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.48e-05/6.616, allocations: 30.56 kB / 3.878 GB, free: 68.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/6.616, allocations: 12.84 kB / 3.878 GB, free: 68.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/6.616, allocations: 263.4 kB / 3.879 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/6.616, allocations: 34.56 kB / 3.879 GB, free: 68.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/6.616, allocations: 112 / 3.879 GB, free: 68.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001769/6.616, allocations: 65.56 kB / 3.879 GB, free: 68.44 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/6.616, allocations: 51.41 kB / 3.879 GB, free: 68.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.264e-05/6.616, allocations: 101.8 kB / 3.879 GB, free: 68.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/6.616, allocations: 25.7 kB / 3.879 GB, free: 68.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/6.616, allocations: 95.95 kB / 3.879 GB, free: 68.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/6.616, allocations: 19.73 kB / 3.879 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/6.616, allocations: 0 / 3.879 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.049e-05/6.616, allocations: 322.8 kB / 3.879 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/6.616, allocations: 4 kB / 3.879 GB, free: 67.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/6.616, allocations: 35.42 kB / 3.879 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.135e-05/6.617, allocations: 55.36 kB / 3.879 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/6.617, allocations: 0 / 3.879 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.156e-05/6.617, allocations: 65.62 kB / 3.879 GB, free: 67.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/6.617, allocations: 4 kB / 3.879 GB, free: 67.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/6.617, allocations: 4 kB / 3.879 GB, free: 67.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/6.617, allocations: 0 / 3.879 GB, free: 67.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/6.617, allocations: 19.92 kB / 3.879 GB, free: 67.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/6.617, allocations: 0 / 3.879 GB, free: 67.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/6.617, allocations: 8.094 kB / 3.879 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/6.617, allocations: 4 kB / 3.879 GB, free: 67.57 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 () * 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 5.468e-05/6.617, allocations: 113.8 kB / 3.88 GB, free: 67.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/6.617, allocations: 7.906 kB / 3.88 GB, free: 67.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/6.617, allocations: 73.25 kB / 3.88 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/6.617, allocations: 4 kB / 3.88 GB, free: 67.35 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/6.617, allocations: 0 / 3.88 GB, free: 67.35 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/6.617, allocations: 0 / 3.88 GB, free: 67.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/6.617, allocations: 177.5 kB / 3.88 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/6.617, allocations: 0 / 3.88 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/6.617, allocations: 4 kB / 3.88 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/6.617, allocations: 0 / 3.88 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/6.617, allocations: 4 kB / 3.88 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/6.617, allocations: 0 / 3.88 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/6.617, allocations: 0 / 3.88 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.129e-05/6.617, allocations: 155.9 kB / 3.88 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/6.617, allocations: 85.03 kB / 3.88 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/6.617, allocations: 0 / 3.88 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/6.618, allocations: 3.938 kB / 3.88 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/6.618, allocations: 8.031 kB / 3.88 GB, free: 66.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/6.618, allocations: 4 kB / 3.88 GB, free: 66.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.107e-05/6.618, allocations: 83.27 kB / 3.88 GB, free: 66.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/6.618, allocations: 0 / 3.88 GB, free: 66.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007216/6.618, allocations: 207.6 kB / 3.88 GB, free: 66.55 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 () * 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.001341/6.62, allocations: 0.7229 MB / 3.881 GB, free: 65.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001029/6.62, allocations: 31.92 kB / 3.881 GB, free: 65.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/6.62, allocations: 0 / 3.881 GB, free: 65.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/6.62, allocations: 12 kB / 3.881 GB, free: 65.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/6.62, allocations: 7.922 kB / 3.881 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/6.62, allocations: 202.3 kB / 3.881 GB, free: 65.56 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/6.62, allocations: 0.6809 MB / 3.882 GB, free: 64.85 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/6.62, allocations: 15.44 kB / 3.882 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of SimCode: time 3e-07/6.621, allocations: 0 / 3.882 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of Templates: time 0.007202/6.628, allocations: 5.418 MB / 3.887 GB, free: 59.42 MB / 0.5261 GB 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/jenkins1/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