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.001531/0.001531, allocations: 196.9 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008081/0.000808, allocations: 95.38 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1681/0.1681, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.77e-05, allocations: 0 / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 63.24 MB / 0.5114 GB, free: 6.789 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.976/7.084, allocations: 3.302 GB / 3.814 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/7.085, allocations: 74.7 kB / 3.814 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1012/7.186, allocations: 51.91 MB / 3.864 GB, free: 64.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.292e-06/7.186, allocations: 0 / 3.864 GB, free: 64.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.869e-06/7.186, allocations: 0 / 3.864 GB, free: 64.62 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.0006408/7.186, allocations: 0.4941 MB / 3.865 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/7.187, allocations: 11.97 kB / 3.865 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/7.187, allocations: 7.906 kB / 3.865 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.076e-05/7.187, allocations: 174.9 kB / 3.865 GB, free: 63.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/7.187, allocations: 4 kB / 3.865 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/7.187, allocations: 4 kB / 3.865 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/7.187, allocations: 69.62 kB / 3.865 GB, free: 63.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/7.187, allocations: 0 / 3.865 GB, free: 63.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/7.187, allocations: 8 kB / 3.865 GB, free: 63.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/7.187, allocations: 7.984 kB / 3.865 GB, free: 63.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.731e-05/7.187, allocations: 43.98 kB / 3.865 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/7.187, allocations: 304.9 kB / 3.866 GB, free: 63.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.757e-05/7.187, allocations: 38.52 kB / 3.866 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/7.187, allocations: 12.94 kB / 3.866 GB, free: 63.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/7.187, allocations: 255.3 kB / 3.866 GB, free: 63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/7.187, allocations: 34.52 kB / 3.866 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/7.187, allocations: 0 / 3.866 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001215/7.188, allocations: 45.69 kB / 3.866 GB, free: 62.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/7.188, allocations: 59.34 kB / 3.866 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.732e-05/7.188, allocations: 101 kB / 3.866 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/7.188, allocations: 25.7 kB / 3.866 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.071e-05/7.188, allocations: 91.89 kB / 3.866 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-06/7.188, allocations: 19.75 kB / 3.866 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/7.188, allocations: 0 / 3.866 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.599e-05/7.188, allocations: 314.8 kB / 3.866 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/7.188, allocations: 12 kB / 3.866 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/7.188, allocations: 35.67 kB / 3.867 GB, free: 62.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/7.188, allocations: 16.08 kB / 3.867 GB, free: 62.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/7.188, allocations: 3.938 kB / 3.867 GB, free: 62.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.034e-05/7.188, allocations: 77.55 kB / 3.867 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/7.188, allocations: 4.938 kB / 3.867 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/7.188, allocations: 4 kB / 3.867 GB, free: 62.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/7.188, allocations: 12.05 kB / 3.867 GB, free: 62.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.338e-05/7.188, allocations: 8 kB / 3.867 GB, free: 62.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/7.188, allocations: 4 kB / 3.867 GB, free: 62.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/7.188, allocations: 7.891 kB / 3.867 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/7.188, allocations: 8.094 kB / 3.867 GB, free: 62.06 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 3.319e-05/7.188, allocations: 108.1 kB / 3.867 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/7.188, allocations: 4 kB / 3.867 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/7.188, allocations: 69.09 kB / 3.867 GB, free: 61.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/7.188, allocations: 7.953 kB / 3.867 GB, free: 61.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/7.188, allocations: 0 / 3.867 GB, free: 61.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/7.188, allocations: 0 / 3.867 GB, free: 61.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/7.188, allocations: 165.7 kB / 3.867 GB, free: 61.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/7.188, allocations: 0 / 3.867 GB, free: 61.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/7.188, allocations: 11.98 kB / 3.867 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/7.188, allocations: 0 / 3.867 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/7.188, allocations: 4 kB / 3.867 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/7.188, allocations: 0 / 3.867 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/7.188, allocations: 3.953 kB / 3.867 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.135e-05/7.189, allocations: 143.5 kB / 3.867 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/7.189, allocations: 81.02 kB / 3.867 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/7.189, allocations: 7.984 kB / 3.867 GB, free: 61.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/7.189, allocations: 3.938 kB / 3.867 GB, free: 61.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/7.189, allocations: 4 kB / 3.867 GB, free: 61.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/7.189, allocations: 11.95 kB / 3.867 GB, free: 61.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.696e-05/7.189, allocations: 79.28 kB / 3.867 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/7.189, allocations: 0 / 3.867 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004933/7.189, allocations: 199.8 kB / 3.868 GB, free: 61.07 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.0009147/7.19, allocations: 0.7325 MB / 3.868 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.36e-05/7.19, allocations: 27.94 kB / 3.868 GB, free: 60.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/7.19, allocations: 0 / 3.868 GB, free: 60.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-05/7.19, allocations: 16.19 kB / 3.868 GB, free: 60.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/7.19, allocations: 11.92 kB / 3.868 GB, free: 60.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001405/7.191, allocations: 68.92 kB / 3.868 GB, free: 60.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.464e-05/7.191, allocations: 0.685 MB / 3.869 GB, free: 59.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.807e-05/7.191, allocations: 12 kB / 3.869 GB, free: 59.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/7.191, allocations: 11.44 kB / 3.869 GB, free: 59.48 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/7.191, allocations: 0 / 3.869 GB, free: 59.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.01128/7.202, allocations: 11.51 MB / 3.88 GB, free: 47.95 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