Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 175.8 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007826/0.0007826, allocations: 80.7 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3514/0.3514, allocations: 43.57 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004009, allocations: 19.98 kB / 432.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.781/7.922, allocations: 3.576 GB / 4.056 GB, free: 95.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/7.922, allocations: 79.95 kB / 4.056 GB, free: 95.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09904/8.021, allocations: 47.44 MB / 4.102 GB, free: 47.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.036e-06/8.021, allocations: 4 kB / 4.102 GB, free: 47.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.923e-06/8.021, allocations: 0 / 4.102 GB, free: 47.96 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00089/8.022, allocations: 494 kB / 4.103 GB, free: 47.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/8.022, allocations: 8.031 kB / 4.103 GB, free: 47.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/8.022, allocations: 0.9375 kB / 4.103 GB, free: 47.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.523e-05/8.022, allocations: 168.3 kB / 4.103 GB, free: 47.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/8.022, allocations: 384 / 4.103 GB, free: 47.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/8.022, allocations: 4.375 kB / 4.103 GB, free: 47.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/8.022, allocations: 78.31 kB / 4.103 GB, free: 47.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/8.022, allocations: 192 / 4.103 GB, free: 47.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/8.022, allocations: 3.938 kB / 4.103 GB, free: 47.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/8.022, allocations: 4 kB / 4.103 GB, free: 47.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.419e-05/8.022, allocations: 47.97 kB / 4.103 GB, free: 47.08 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/8.023, allocations: 304.6 kB / 4.103 GB, free: 46.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.262e-05/8.023, allocations: 38.56 kB / 4.103 GB, free: 46.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/8.023, allocations: 8.922 kB / 4.103 GB, free: 46.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/8.023, allocations: 93.09 kB / 4.103 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/8.023, allocations: 30.56 kB / 4.104 GB, free: 46.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/8.023, allocations: 0 / 4.104 GB, free: 46.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001673/8.023, allocations: 49.72 kB / 4.104 GB, free: 46.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/8.023, allocations: 51.41 kB / 4.104 GB, free: 46.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.869e-05/8.023, allocations: 110 kB / 4.104 GB, free: 46.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/8.023, allocations: 25.7 kB / 4.104 GB, free: 46.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/8.023, allocations: 91.89 kB / 4.104 GB, free: 46.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/8.023, allocations: 11.91 kB / 4.104 GB, free: 46.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/8.023, allocations: 0 / 4.104 GB, free: 46.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.433e-05/8.023, allocations: 318.8 kB / 4.104 GB, free: 45.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/8.023, allocations: 8 kB / 4.104 GB, free: 45.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.979e-05/8.023, allocations: 35.42 kB / 4.104 GB, free: 45.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.813e-05/8.023, allocations: 47.55 kB / 4.104 GB, free: 45.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/8.024, allocations: 0 / 4.104 GB, free: 45.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.097e-05/8.024, allocations: 69.61 kB / 4.104 GB, free: 45.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/8.024, allocations: 4 kB / 4.104 GB, free: 45.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/8.024, allocations: 11.97 kB / 4.104 GB, free: 45.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/8.024, allocations: 4 kB / 4.104 GB, free: 45.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.842e-05/8.024, allocations: 8 kB / 4.104 GB, free: 45.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/8.024, allocations: 3.938 kB / 4.104 GB, free: 45.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/8.024, allocations: 11.84 kB / 4.104 GB, free: 45.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/8.024, allocations: 3.984 kB / 4.104 GB, free: 45.6 MB / 0.4948 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 (6): * Single equations (assignments): 6 * 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.112e-05/8.024, allocations: 117.8 kB / 4.104 GB, free: 45.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/8.024, allocations: 4 kB / 4.104 GB, free: 45.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/8.024, allocations: 61.12 kB / 4.105 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/8.024, allocations: 0 / 4.105 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/8.024, allocations: 0 / 4.105 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/8.024, allocations: 3.984 kB / 4.105 GB, free: 45.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/8.024, allocations: 165.6 kB / 4.105 GB, free: 45.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/8.024, allocations: 0 / 4.105 GB, free: 45.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/8.024, allocations: 8 kB / 4.105 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/8.024, allocations: 0 / 4.105 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/8.024, allocations: 0 / 4.105 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/8.024, allocations: 4 kB / 4.105 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/8.024, allocations: 0 / 4.105 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.196e-05/8.024, allocations: 147.4 kB / 4.105 GB, free: 45.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/8.024, allocations: 85 kB / 4.105 GB, free: 44.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/8.024, allocations: 4 kB / 4.105 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.445e-05/8.024, allocations: 0 / 4.105 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/8.024, allocations: 0 / 4.105 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/8.024, allocations: 4 kB / 4.105 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 1.927e-05/8.024, allocations: 79.28 kB / 4.105 GB, free: 44.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/8.024, allocations: 0 / 4.105 GB, free: 44.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006016/8.025, allocations: 139.8 kB / 4.105 GB, free: 44.7 MB / 0.4948 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 (3): * Single equations (assignments): 3 * 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.001031/8.026, allocations: 0.663 MB / 4.106 GB, free: 44.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.856e-05/8.026, allocations: 27.92 kB / 4.106 GB, free: 44.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/8.026, allocations: 0 / 4.106 GB, free: 44.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.146e-05/8.026, allocations: 4 kB / 4.106 GB, free: 44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/8.027, allocations: 8.984 kB / 4.106 GB, free: 44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/8.027, allocations: 166.4 kB / 4.106 GB, free: 43.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/8.027, allocations: 0.677 MB / 4.107 GB, free: 43.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.126e-05/8.027, allocations: 15.98 kB / 4.107 GB, free: 43.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/8.027, allocations: 11.44 kB / 4.107 GB, free: 43.08 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/8.027, allocations: 0 / 4.107 GB, free: 43.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.01154/8.039, allocations: 9.28 MB / 4.116 GB, free: 33.79 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches