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.001386/0.001386, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008223/0.0008222, allocations: 106.4 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3319/0.3319, allocations: 45.22 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.0002901, allocations: 4 kB / 468.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3109, allocations: 63.26 MB / 0.5192 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.43/6.741, allocations: 3.302 GB / 3.822 GB, free: 38.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/6.741, allocations: 71.89 kB / 3.822 GB, free: 38.56 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3429/7.084, allocations: 52 MB / 3.872 GB, free: 178.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.453e-06/7.084, allocations: 0 / 3.872 GB, free: 178.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.751e-06/7.084, allocations: 2.875 kB / 3.872 GB, free: 178.1 MB / 0.5417 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.0007625/7.085, allocations: 0.5095 MB / 3.873 GB, free: 177.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/7.085, allocations: 9.188 kB / 3.873 GB, free: 177.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/7.085, allocations: 4.312 kB / 3.873 GB, free: 177.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.859e-05/7.085, allocations: 169.9 kB / 3.873 GB, free: 177.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/7.085, allocations: 0 / 3.873 GB, free: 177.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/7.085, allocations: 4.312 kB / 3.873 GB, free: 177.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/7.085, allocations: 75.08 kB / 3.873 GB, free: 177.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/7.085, allocations: 0 / 3.873 GB, free: 177.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/7.085, allocations: 7.766 kB / 3.873 GB, free: 177.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/7.085, allocations: 11.67 kB / 3.873 GB, free: 177.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.91e-05/7.085, allocations: 49.5 kB / 3.873 GB, free: 177.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/7.085, allocations: 314.2 kB / 3.874 GB, free: 177.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.445e-05/7.085, allocations: 30.67 kB / 3.874 GB, free: 177.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/7.086, allocations: 258.3 kB / 3.874 GB, free: 176.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/7.086, allocations: 33.09 kB / 3.874 GB, free: 176.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/7.086, allocations: 0 / 3.874 GB, free: 176.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001752/7.086, allocations: 57.92 kB / 3.874 GB, free: 176.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/7.086, allocations: 54.41 kB / 3.874 GB, free: 176.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.384e-05/7.086, allocations: 95.25 kB / 3.874 GB, free: 176.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/7.086, allocations: 27.73 kB / 3.874 GB, free: 176.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/7.086, allocations: 99.73 kB / 3.874 GB, free: 176.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/7.086, allocations: 20.8 kB / 3.874 GB, free: 176.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/7.086, allocations: 0 / 3.874 GB, free: 176.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.242e-05/7.086, allocations: 317.6 kB / 3.874 GB, free: 176.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/7.086, allocations: 6.688 kB / 3.874 GB, free: 176.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/7.086, allocations: 38.78 kB / 3.875 GB, free: 176.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/7.086, allocations: 17.78 kB / 3.875 GB, free: 176.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/7.086, allocations: 2.875 kB / 3.875 GB, free: 176.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.061e-05/7.086, allocations: 72.02 kB / 3.875 GB, free: 176.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/7.086, allocations: 8.562 kB / 3.875 GB, free: 176.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/7.086, allocations: 2.172 kB / 3.875 GB, free: 176.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/7.086, allocations: 6.875 kB / 3.875 GB, free: 176.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/7.086, allocations: 14.16 kB / 3.875 GB, free: 176.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/7.086, allocations: 3.328 kB / 3.875 GB, free: 176.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/7.086, allocations: 2.938 kB / 3.875 GB, free: 176.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/7.086, allocations: 6.062 kB / 3.875 GB, free: 176.1 MB / 0.5417 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 4.804e-05/7.087, allocations: 112.6 kB / 3.875 GB, free: 176 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/7.087, allocations: 10.83 kB / 3.875 GB, free: 176 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/7.087, allocations: 76.62 kB / 3.875 GB, free: 176 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/7.087, allocations: 0 / 3.875 GB, free: 176 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/7.087, allocations: 0 / 3.875 GB, free: 176 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/7.087, allocations: 0 / 3.875 GB, free: 176 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/7.087, allocations: 157.8 kB / 3.875 GB, free: 175.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/7.087, allocations: 0 / 3.875 GB, free: 175.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/7.087, allocations: 10.7 kB / 3.875 GB, free: 175.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/7.087, allocations: 2.844 kB / 3.875 GB, free: 175.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/7.087, allocations: 3.953 kB / 3.875 GB, free: 175.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/7.087, allocations: 6.719 kB / 3.875 GB, free: 175.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/7.087, allocations: 0 / 3.875 GB, free: 175.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.741e-05/7.087, allocations: 149.8 kB / 3.875 GB, free: 175.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/7.087, allocations: 81.02 kB / 3.875 GB, free: 175.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/7.087, allocations: 0 / 3.875 GB, free: 175.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.142e-05/7.087, allocations: 9.766 kB / 3.875 GB, free: 175.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/7.087, allocations: 5.875 kB / 3.875 GB, free: 175.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/7.087, allocations: 6.547 kB / 3.875 GB, free: 175.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.805e-05/7.087, allocations: 78.34 kB / 3.875 GB, free: 175.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/7.087, allocations: 0 / 3.875 GB, free: 175.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006169/7.088, allocations: 197.3 kB / 3.876 GB, free: 175.4 MB / 0.5417 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.001148/7.089, allocations: 0.7341 MB / 3.876 GB, free: 175.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.875e-05/7.089, allocations: 36.36 kB / 3.876 GB, free: 175.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/7.089, allocations: 0 / 3.876 GB, free: 175.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.64e-05/7.089, allocations: 15.75 kB / 3.876 GB, free: 175.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/7.089, allocations: 5.484 kB / 3.876 GB, free: 175.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/7.089, allocations: 159 kB / 3.876 GB, free: 175.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/7.09, allocations: 0.6834 MB / 3.877 GB, free: 174.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.539e-05/7.09, allocations: 16.25 kB / 3.877 GB, free: 174.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/7.09, allocations: 13.97 kB / 3.877 GB, free: 174.5 MB / 0.5417 GB Notification: Performance of SimCode: time 8.02e-07/7.09, allocations: 3.844 kB / 3.877 GB, free: 174.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.01473/7.104, allocations: 9.897 MB / 3.887 GB, free: 173.7 MB / 0.5417 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