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.0009368/0.0009368, allocations: 180.4 kB / 14.15 MB, free: 1.176 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.272/1.272, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008931/0.0008931, allocations: 88.05 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1817/0.1817, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.892e-05, allocations: 4.219 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.749/7.873, allocations: 3.309 GB / 3.81 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/7.873, allocations: 75.58 kB / 3.81 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1083/7.981, allocations: 52.21 MB / 3.861 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/7.981, allocations: 0 / 3.861 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.833e-06/7.981, allocations: 0 / 3.861 GB, free: 143.7 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.001018/7.982, allocations: 0.498 MB / 3.862 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/7.982, allocations: 8.031 kB / 3.862 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/7.982, allocations: 11.91 kB / 3.862 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.231e-05/7.983, allocations: 159.1 kB / 3.862 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/7.983, allocations: 7.891 kB / 3.862 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/7.983, allocations: 11.98 kB / 3.862 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/7.983, allocations: 69.83 kB / 3.862 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/7.983, allocations: 7.922 kB / 3.862 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/7.983, allocations: 0 / 3.862 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/7.983, allocations: 4 kB / 3.862 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.164e-05/7.983, allocations: 51.97 kB / 3.862 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/7.983, allocations: 308.6 kB / 3.862 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.302e-05/7.983, allocations: 30.58 kB / 3.862 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/7.983, allocations: 16.86 kB / 3.862 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/7.984, allocations: 255.3 kB / 3.863 GB, free: 142 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/7.984, allocations: 34.56 kB / 3.863 GB, free: 142 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.013e-06/7.984, allocations: 4 kB / 3.863 GB, free: 142 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.000152/7.984, allocations: 49.62 kB / 3.863 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/7.984, allocations: 51.41 kB / 3.863 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.197e-05/7.984, allocations: 96.98 kB / 3.863 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/7.984, allocations: 29.7 kB / 3.863 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/7.984, allocations: 95.88 kB / 3.863 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.859e-06/7.984, allocations: 15.81 kB / 3.863 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/7.984, allocations: 0 / 3.863 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.305e-05/7.984, allocations: 326.8 kB / 3.863 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/7.984, allocations: 4 kB / 3.863 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/7.984, allocations: 35.44 kB / 3.863 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/7.984, allocations: 11.98 kB / 3.863 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/7.984, allocations: 0 / 3.863 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.525e-05/7.984, allocations: 77.55 kB / 3.864 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/7.984, allocations: 8 kB / 3.864 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/7.984, allocations: 0 / 3.864 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/7.984, allocations: 0 / 3.864 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/7.984, allocations: 16 kB / 3.864 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/7.984, allocations: 112 / 3.864 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.516e-05/7.984, allocations: 7.938 kB / 3.864 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/7.984, allocations: 7.984 kB / 3.864 GB, free: 141.1 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 5.415e-05/7.984, allocations: 120.9 kB / 3.864 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/7.984, allocations: 3.906 kB / 3.864 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/7.985, allocations: 65.31 kB / 3.864 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/7.985, allocations: 336 / 3.864 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/7.985, allocations: 0 / 3.864 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/7.985, allocations: 0 / 3.864 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/7.985, allocations: 173.6 kB / 3.864 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/7.985, allocations: 0 / 3.864 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/7.985, allocations: 7.984 kB / 3.864 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/7.985, allocations: 7.922 kB / 3.864 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/7.985, allocations: 4 kB / 3.864 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/7.985, allocations: 0 / 3.864 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/7.985, allocations: 3.938 kB / 3.864 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.416e-05/7.985, allocations: 143.5 kB / 3.864 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/7.985, allocations: 85.02 kB / 3.864 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/7.985, allocations: 0 / 3.864 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/7.985, allocations: 4 kB / 3.864 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/7.985, allocations: 7.984 kB / 3.864 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/7.985, allocations: 0 / 3.864 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.056e-05/7.985, allocations: 79.28 kB / 3.864 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/7.985, allocations: 0 / 3.864 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007571/7.986, allocations: 183.8 kB / 3.864 GB, free: 140.1 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.00143/7.987, allocations: 0.7354 MB / 3.865 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001031/7.987, allocations: 31.94 kB / 3.865 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/7.987, allocations: 0 / 3.865 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.436e-05/7.988, allocations: 11.98 kB / 3.865 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/7.988, allocations: 11.75 kB / 3.865 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001844/7.988, allocations: 72.86 kB / 3.865 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/7.988, allocations: 0.6848 MB / 3.866 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.535e-05/7.988, allocations: 12.12 kB / 3.866 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/7.988, allocations: 19.42 kB / 3.866 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/7.988, allocations: 0 / 3.866 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.01261/8.001, allocations: 11.41 MB / 3.877 GB, free: 127.1 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/jenkins/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