Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000865/0.0008649, allocations: 179.2 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.3 MB / 242.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008078/0.000808, allocations: 104.2 kB / 293.3 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3318/0.3318, allocations: 44.14 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003632, allocations: 16 kB / 461.1 MB, free: 1.355 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3145, allocations: 61.88 MB / 0.5107 GB, free: 38.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.214/7.529, allocations: 3.309 GB / 3.819 GB, free: 182.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/7.529, allocations: 78.06 kB / 3.82 GB, free: 182.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1163/7.646, allocations: 52.32 MB / 3.871 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.046e-06/7.646, allocations: 0 / 3.871 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.733e-06/7.646, allocations: 0 / 3.871 GB, free: 142.6 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.001026/7.647, allocations: 0.499 MB / 3.871 GB, free: 142 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/7.647, allocations: 12.03 kB / 3.871 GB, free: 142 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/7.647, allocations: 0.9375 kB / 3.871 GB, free: 142 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.03e-05/7.647, allocations: 164.4 kB / 3.871 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/7.647, allocations: 8.375 kB / 3.871 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/7.647, allocations: 12.31 kB / 3.871 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/7.647, allocations: 66.23 kB / 3.871 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/7.647, allocations: 192 / 3.871 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/7.647, allocations: 8.094 kB / 3.871 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/7.647, allocations: 4 kB / 3.871 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.419e-05/7.647, allocations: 47.97 kB / 3.871 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/7.648, allocations: 316.5 kB / 3.872 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.596e-05/7.648, allocations: 30.58 kB / 3.872 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/7.648, allocations: 16.94 kB / 3.872 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/7.648, allocations: 251.3 kB / 3.872 GB, free: 141 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/7.648, allocations: 30.56 kB / 3.872 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/7.648, allocations: 0 / 3.872 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001788/7.648, allocations: 65.61 kB / 3.872 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/7.648, allocations: 59.39 kB / 3.872 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/7.648, allocations: 97.86 kB / 3.872 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/7.648, allocations: 25.7 kB / 3.872 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/7.648, allocations: 99.88 kB / 3.872 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/7.648, allocations: 11.81 kB / 3.872 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/7.648, allocations: 0 / 3.872 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.931e-05/7.648, allocations: 318.9 kB / 3.873 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/7.648, allocations: 15.92 kB / 3.873 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/7.648, allocations: 35.44 kB / 3.873 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/7.648, allocations: 47.36 kB / 3.873 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/7.648, allocations: 7.938 kB / 3.873 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.707e-05/7.649, allocations: 73.55 kB / 3.873 GB, free: 140 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/7.649, allocations: 8.094 kB / 3.873 GB, free: 140 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/7.649, allocations: 4 kB / 3.873 GB, free: 140 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/7.649, allocations: 0 / 3.873 GB, free: 140 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/7.649, allocations: 12 kB / 3.873 GB, free: 140 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/7.649, allocations: 0 / 3.873 GB, free: 140 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/7.649, allocations: 0 / 3.873 GB, free: 140 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/7.649, allocations: 8 kB / 3.873 GB, free: 140 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.006e-05/7.649, allocations: 125.7 kB / 3.873 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/7.649, allocations: 7.906 kB / 3.873 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/7.649, allocations: 73.09 kB / 3.873 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/7.649, allocations: 0 / 3.873 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/7.649, allocations: 0 / 3.873 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/7.649, allocations: 0 / 3.873 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/7.649, allocations: 161.6 kB / 3.873 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/7.649, allocations: 0 / 3.873 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/7.649, allocations: 12 kB / 3.873 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/7.649, allocations: 4 kB / 3.873 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/7.649, allocations: 3.984 kB / 3.873 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/7.649, allocations: 4.156 kB / 3.873 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/7.649, allocations: 0 / 3.873 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.265e-05/7.649, allocations: 151.4 kB / 3.873 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/7.649, allocations: 77.11 kB / 3.873 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/7.649, allocations: 0 / 3.873 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.557e-05/7.649, allocations: 0 / 3.873 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/7.65, allocations: 12.5 kB / 3.874 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/7.65, allocations: 0 / 3.874 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.39e-05/7.65, allocations: 79.28 kB / 3.874 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/7.65, allocations: 0 / 3.874 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007634/7.65, allocations: 187.6 kB / 3.874 GB, free: 139 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.00158/7.652, allocations: 0.7284 MB / 3.874 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.758e-05/7.652, allocations: 35.91 kB / 3.875 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/7.652, allocations: 192 / 3.875 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.527e-05/7.652, allocations: 16 kB / 3.875 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/7.652, allocations: 0 / 3.875 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/7.653, allocations: 164.7 kB / 3.875 GB, free: 138 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/7.653, allocations: 0.6809 MB / 3.875 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.909e-05/7.653, allocations: 23.92 kB / 3.875 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/7.653, allocations: 11.44 kB / 3.875 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/7.653, allocations: 3.938 kB / 3.875 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.01226/7.665, allocations: 9.907 MB / 3.885 GB, free: 127.4 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches