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.002296/0.002296, allocations: 200.4 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.679/1.679, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 100.2 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4813/0.4813, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.000497, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.511/0.5115, allocations: 62.96 MB / 0.5184 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.544/9.056, allocations: 3.31 GB / 3.828 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/9.056, allocations: 79.42 kB / 3.828 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1452/9.201, allocations: 52.22 MB / 3.879 GB, free: 50.81 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.156e-06/9.202, allocations: 0 / 3.879 GB, free: 50.81 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.975e-06/9.202, allocations: 0 / 3.879 GB, free: 50.81 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.001116/9.203, allocations: 0.5145 MB / 3.88 GB, free: 50.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/9.203, allocations: 12.03 kB / 3.88 GB, free: 50.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/9.203, allocations: 8.938 kB / 3.88 GB, free: 50.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.619e-05/9.203, allocations: 168.4 kB / 3.88 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/9.203, allocations: 384 / 3.88 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/9.203, allocations: 8.516 kB / 3.88 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/9.203, allocations: 74.72 kB / 3.88 GB, free: 49.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/9.203, allocations: 192 / 3.88 GB, free: 49.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/9.203, allocations: 3.938 kB / 3.88 GB, free: 49.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/9.203, allocations: 8 kB / 3.88 GB, free: 49.92 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/9.203, allocations: 47.97 kB / 3.88 GB, free: 49.88 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/9.204, allocations: 312.5 kB / 3.88 GB, free: 49.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.415e-05/9.204, allocations: 34.52 kB / 3.88 GB, free: 49.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/9.204, allocations: 12.84 kB / 3.88 GB, free: 49.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/9.204, allocations: 259.4 kB / 3.881 GB, free: 49.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/9.204, allocations: 30.56 kB / 3.881 GB, free: 49.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.512e-06/9.204, allocations: 4 kB / 3.881 GB, free: 49.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002024/9.204, allocations: 61.73 kB / 3.881 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/9.204, allocations: 55.34 kB / 3.881 GB, free: 48.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.413e-05/9.204, allocations: 101.8 kB / 3.881 GB, free: 48.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/9.204, allocations: 25.7 kB / 3.881 GB, free: 48.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/9.205, allocations: 99.94 kB / 3.881 GB, free: 48.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/9.205, allocations: 11.75 kB / 3.881 GB, free: 48.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/9.205, allocations: 4 kB / 3.881 GB, free: 48.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.723e-05/9.205, allocations: 322.8 kB / 3.881 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/9.205, allocations: 7.984 kB / 3.881 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/9.205, allocations: 31.44 kB / 3.881 GB, free: 48.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/9.205, allocations: 51.36 kB / 3.881 GB, free: 48.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/9.205, allocations: 4 kB / 3.881 GB, free: 48.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001054/9.205, allocations: 69.56 kB / 3.881 GB, free: 48.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/9.205, allocations: 11.42 kB / 3.881 GB, free: 48.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/9.205, allocations: 4 kB / 3.881 GB, free: 48.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/9.205, allocations: 0 / 3.881 GB, free: 48.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/9.205, allocations: 12 kB / 3.881 GB, free: 48.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/9.205, allocations: 0 / 3.881 GB, free: 48.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/9.205, allocations: 8 kB / 3.881 GB, free: 48.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/9.205, allocations: 0 / 3.881 GB, free: 48.17 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 6.499e-05/9.205, allocations: 121.9 kB / 3.882 GB, free: 48.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/9.205, allocations: 7.906 kB / 3.882 GB, free: 48.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/9.205, allocations: 65.12 kB / 3.882 GB, free: 47.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/9.205, allocations: 3.984 kB / 3.882 GB, free: 47.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/9.205, allocations: 0 / 3.882 GB, free: 47.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/9.205, allocations: 4 kB / 3.882 GB, free: 47.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/9.206, allocations: 165.5 kB / 3.882 GB, free: 47.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/9.206, allocations: 7.938 kB / 3.882 GB, free: 47.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/9.206, allocations: 4 kB / 3.882 GB, free: 47.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/9.206, allocations: 0 / 3.882 GB, free: 47.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/9.206, allocations: 4 kB / 3.882 GB, free: 47.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/9.206, allocations: 0 / 3.882 GB, free: 47.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/9.206, allocations: 3.984 kB / 3.882 GB, free: 47.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/9.206, allocations: 151.9 kB / 3.882 GB, free: 47.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/9.206, allocations: 81.11 kB / 3.882 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/9.206, allocations: 0 / 3.882 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.684e-05/9.206, allocations: 4 kB / 3.882 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/9.206, allocations: 15.97 kB / 3.882 GB, free: 47.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/9.206, allocations: 0 / 3.882 GB, free: 47.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.996e-05/9.206, allocations: 83.27 kB / 3.882 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/9.206, allocations: 0 / 3.882 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009225/9.207, allocations: 203.6 kB / 3.882 GB, free: 47.16 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.001872/9.209, allocations: 0.735 MB / 3.883 GB, free: 46.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001328/9.209, allocations: 35.92 kB / 3.883 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/9.209, allocations: 0 / 3.883 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/9.209, allocations: 7.984 kB / 3.883 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/9.209, allocations: 8 kB / 3.883 GB, free: 46.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/9.21, allocations: 172.6 kB / 3.883 GB, free: 46.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/9.21, allocations: 0.6809 MB / 3.884 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.51e-05/9.21, allocations: 19.97 kB / 3.884 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/9.21, allocations: 11.44 kB / 3.884 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/9.21, allocations: 0 / 3.884 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.01433/9.224, allocations: 9.992 MB / 3.894 GB, free: 35.44 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/jenkins1/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