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.001203/0.001203, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009265/0.0009263, allocations: 86.62 kB / 261.7 MB, free: 1.617 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.2211/0.2211, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.386e-05/1.39e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1345, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.754/8.889, allocations: 3.575 GB / 4.041 GB, free: 183.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/8.889, allocations: 78.81 kB / 4.041 GB, free: 183.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09557/8.985, allocations: 46.64 MB / 4.087 GB, free: 149.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.114e-06/8.985, allocations: 0 / 4.087 GB, free: 149.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.516e-06/8.985, allocations: 0 / 4.087 GB, free: 149.9 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.000888/8.986, allocations: 474 kB / 4.087 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/8.986, allocations: 8.031 kB / 4.087 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/8.986, allocations: 7.906 kB / 4.087 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.67e-05/8.986, allocations: 174.9 kB / 4.087 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/8.986, allocations: 8 kB / 4.087 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/8.986, allocations: 4 kB / 4.087 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001432/8.986, allocations: 47.97 kB / 4.087 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/8.986, allocations: 61.69 kB / 4.087 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/8.986, allocations: 0 / 4.087 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/8.986, allocations: 0 / 4.087 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/8.986, allocations: 11.92 kB / 4.087 GB, free: 149 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/8.987, allocations: 277.4 kB / 4.088 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.773e-05/8.987, allocations: 30.73 kB / 4.088 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.53e-05/8.987, allocations: 8.844 kB / 4.088 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/8.987, allocations: 85.11 kB / 4.088 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/8.987, allocations: 42.55 kB / 4.088 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/8.987, allocations: 0 / 4.088 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000373/8.987, allocations: 85.61 kB / 4.088 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/8.987, allocations: 63.34 kB / 4.088 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.689e-05/8.987, allocations: 89 kB / 4.088 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/8.987, allocations: 25.7 kB / 4.088 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/8.987, allocations: 99.88 kB / 4.088 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-06/8.988, allocations: 7.906 kB / 4.088 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/8.988, allocations: 0 / 4.088 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.909e-05/8.988, allocations: 310.8 kB / 4.088 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/8.988, allocations: 8 kB / 4.088 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.848e-05/8.988, allocations: 35.42 kB / 4.088 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/8.988, allocations: 51.92 kB / 4.089 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/8.988, allocations: 0 / 4.089 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002485/8.988, allocations: 105.4 kB / 4.089 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/8.988, allocations: 7.984 kB / 4.089 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/8.988, allocations: 4.094 kB / 4.089 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/8.988, allocations: 4 kB / 4.089 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/8.988, allocations: 8 kB / 4.089 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/8.988, allocations: 0 / 4.089 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/8.988, allocations: 11.89 kB / 4.089 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/8.988, allocations: 8 kB / 4.089 GB, free: 147.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 () * 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 5.061e-05/8.988, allocations: 101 kB / 4.089 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/8.988, allocations: 0 / 4.089 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/8.989, allocations: 105.9 kB / 4.089 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/8.989, allocations: 3.984 kB / 4.089 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/8.989, allocations: 0 / 4.089 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/8.989, allocations: 4 kB / 4.089 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/8.989, allocations: 134.2 kB / 4.089 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/8.989, allocations: 3.984 kB / 4.089 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/8.989, allocations: 4 kB / 4.089 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/8.989, allocations: 0 / 4.089 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/8.989, allocations: 7.938 kB / 4.089 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/8.989, allocations: 4 kB / 4.089 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/8.989, allocations: 0 / 4.089 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/8.989, allocations: 183.3 kB / 4.089 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/8.989, allocations: 77.11 kB / 4.089 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/8.989, allocations: 8.062 kB / 4.089 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.401e-05/8.989, allocations: 4 kB / 4.089 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/8.989, allocations: 7.938 kB / 4.089 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/8.989, allocations: 4 kB / 4.089 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.374e-05/8.989, allocations: 83.27 kB / 4.089 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/8.989, allocations: 0 / 4.089 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005573/8.99, allocations: 123.9 kB / 4.089 GB, free: 146.6 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 () * 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.001061/8.991, allocations: 0.7326 MB / 4.09 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.711e-05/8.991, allocations: 27.91 kB / 4.09 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/8.991, allocations: 0 / 4.09 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.378e-06/8.991, allocations: 8 kB / 4.09 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/8.991, allocations: 3.953 kB / 4.09 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001889/8.992, allocations: 72.17 kB / 4.09 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/8.992, allocations: 0.6846 MB / 4.091 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.759e-05/8.992, allocations: 4 kB / 4.091 GB, free: 145 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/8.992, allocations: 15.44 kB / 4.091 GB, free: 145 MB / 0.4948 GB Notification: Performance of SimCode: time 3.41e-07/8.992, allocations: 0 / 4.091 GB, free: 145 MB / 0.4948 GB Notification: Performance of Templates: time 0.007928/9, allocations: 5.282 MB / 4.096 GB, free: 139.7 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/jenkins/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