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.001483/0.001483, allocations: 183.5 kB / 15.76 MB, free: 6.367 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.942/1.942, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001151/0.00115, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2338/0.2338, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1389, allocations: 58.85 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.388/8.527, allocations: 3.576 GB / 4.055 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/8.527, allocations: 77 kB / 4.055 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1029/8.63, allocations: 47.44 MB / 4.101 GB, free: 66.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.124e-06/8.63, allocations: 4 kB / 4.101 GB, free: 66.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.797e-06/8.63, allocations: 0 / 4.101 GB, free: 66.16 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.001029/8.631, allocations: 486.8 kB / 4.101 GB, free: 65.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/8.632, allocations: 8.031 kB / 4.101 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/8.632, allocations: 3.906 kB / 4.101 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.847e-05/8.632, allocations: 175 kB / 4.102 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/8.632, allocations: 4 kB / 4.102 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/8.632, allocations: 8 kB / 4.102 GB, free: 65.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/8.632, allocations: 61.78 kB / 4.102 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/8.632, allocations: 0 / 4.102 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/8.632, allocations: 7.984 kB / 4.102 GB, free: 65.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/8.632, allocations: 7.984 kB / 4.102 GB, free: 65.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.348e-05/8.632, allocations: 51.91 kB / 4.102 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/8.633, allocations: 296.7 kB / 4.102 GB, free: 64.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.407e-05/8.633, allocations: 34.56 kB / 4.102 GB, free: 64.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/8.633, allocations: 93.25 kB / 4.102 GB, free: 64.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/8.633, allocations: 30.56 kB / 4.102 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.502e-06/8.633, allocations: 0 / 4.102 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001939/8.633, allocations: 53.67 kB / 4.102 GB, free: 64.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/8.633, allocations: 55.41 kB / 4.102 GB, free: 64.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.199e-05/8.633, allocations: 101 kB / 4.102 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/8.633, allocations: 25.7 kB / 4.102 GB, free: 64.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/8.633, allocations: 91.89 kB / 4.102 GB, free: 64.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.939e-06/8.633, allocations: 11.91 kB / 4.102 GB, free: 64.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-06/8.633, allocations: 0 / 4.102 GB, free: 64.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.046e-05/8.633, allocations: 314.8 kB / 4.103 GB, free: 64.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/8.633, allocations: 4 kB / 4.103 GB, free: 64.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/8.633, allocations: 43.42 kB / 4.103 GB, free: 63.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.832e-05/8.633, allocations: 8.375 kB / 4.103 GB, free: 63.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/8.633, allocations: 4 kB / 4.103 GB, free: 63.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001097/8.634, allocations: 73.45 kB / 4.103 GB, free: 63.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/8.634, allocations: 15.42 kB / 4.103 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/8.634, allocations: 0 / 4.103 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/8.634, allocations: 4.094 kB / 4.103 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/8.634, allocations: 8 kB / 4.103 GB, free: 63.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/8.634, allocations: 11.89 kB / 4.103 GB, free: 63.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/8.634, allocations: 3.938 kB / 4.103 GB, free: 63.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/8.634, allocations: 4 kB / 4.103 GB, free: 63.86 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 7.705e-05/8.634, allocations: 125.8 kB / 4.103 GB, free: 63.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/8.634, allocations: 0 / 4.103 GB, free: 63.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/8.634, allocations: 57.19 kB / 4.103 GB, free: 63.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/8.634, allocations: 0 / 4.103 GB, free: 63.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/8.634, allocations: 0 / 4.103 GB, free: 63.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/8.634, allocations: 7.938 kB / 4.103 GB, free: 63.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/8.634, allocations: 161.7 kB / 4.103 GB, free: 63.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/8.634, allocations: 0 / 4.103 GB, free: 63.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/8.634, allocations: 4 kB / 4.103 GB, free: 63.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/8.634, allocations: 0 / 4.103 GB, free: 63.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/8.634, allocations: 7.938 kB / 4.103 GB, free: 63.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/8.634, allocations: 4 kB / 4.103 GB, free: 63.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/8.634, allocations: 0 / 4.103 GB, free: 63.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/8.634, allocations: 151.3 kB / 4.103 GB, free: 63.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/8.635, allocations: 81.09 kB / 4.104 GB, free: 63.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/8.635, allocations: 4 kB / 4.104 GB, free: 63.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.339e-05/8.635, allocations: 0 / 4.104 GB, free: 63.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/8.635, allocations: 0 / 4.104 GB, free: 63.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/8.635, allocations: 0 / 4.104 GB, free: 63.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.574e-05/8.635, allocations: 87.27 kB / 4.104 GB, free: 63.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/8.635, allocations: 0 / 4.104 GB, free: 63.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000722/8.635, allocations: 131.9 kB / 4.104 GB, free: 62.95 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.001376/8.637, allocations: 0.6562 MB / 4.104 GB, free: 62.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001159/8.637, allocations: 27.92 kB / 4.104 GB, free: 62.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/8.637, allocations: 0 / 4.104 GB, free: 62.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/8.637, allocations: 4 kB / 4.104 GB, free: 62.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/8.637, allocations: 9.953 kB / 4.104 GB, free: 62.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/8.638, allocations: 161.2 kB / 4.105 GB, free: 62.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/8.638, allocations: 0.6809 MB / 4.105 GB, free: 61.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.093e-05/8.638, allocations: 19.92 kB / 4.105 GB, free: 61.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/8.638, allocations: 11.44 kB / 4.105 GB, free: 61.32 MB / 0.4948 GB Notification: Performance of SimCode: time 2e-07/8.638, allocations: 0 / 4.105 GB, free: 61.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.01263/8.65, allocations: 9.172 MB / 4.114 GB, free: 52.14 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