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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2214/0.2214, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.56 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1304, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4088/0.5392, allocations: 151 MB / 0.6071 GB, free: 9.184 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.5409, allocations: 1.319 MB / 0.6084 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.541, allocations: 4 kB / 0.6084 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.5413, allocations: 43.73 kB / 0.6084 GB, free: 7.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.5439, allocations: 1.014 MB / 0.6094 GB, free: 6.836 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.548e-06/0.5439, allocations: 4 kB / 0.6094 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.544, allocations: 51.72 kB / 0.6095 GB, free: 6.781 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.544, allocations: 5.203 kB / 0.6095 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.5441, allocations: 23.86 kB / 0.6095 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.5442, allocations: 15.98 kB / 0.6095 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.5442, allocations: 4 kB / 0.6095 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002662/0.5468, allocations: 1.79 MB / 0.6112 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.5469, allocations: 19.91 kB / 0.6113 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.5469, allocations: 11.94 kB / 0.6113 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.5482, allocations: 0.8849 MB / 0.6121 GB, free: 4.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5483, allocations: 0 / 0.6121 GB, free: 4.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5483, allocations: 0 / 0.6121 GB, free: 4.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.5483, allocations: 0 / 0.6121 GB, free: 4.023 MB / 446.1 MB 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.000612/0.5489, allocations: 491.2 kB / 0.6126 GB, free: 3.496 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.5489, allocations: 8.031 kB / 0.6126 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.549, allocations: 11.06 kB / 0.6126 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.874e-05/0.5491, allocations: 175.8 kB / 0.6128 GB, free: 3.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.5491, allocations: 8 kB / 0.6128 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.5491, allocations: 0 / 0.6128 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.5493, allocations: 77.66 kB / 0.6129 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5493, allocations: 0 / 0.6129 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.5493, allocations: 0 / 0.6129 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.5493, allocations: 4 kB / 0.6129 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.135e-05/0.5494, allocations: 51.97 kB / 0.6129 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.5498, allocations: 304.7 kB / 0.6132 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.081e-05/0.5499, allocations: 30.56 kB / 0.6133 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.5499, allocations: 16.86 kB / 0.6133 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.5502, allocations: 251.4 kB / 0.6135 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.5502, allocations: 42.56 kB / 0.6135 GB, free: 2.367 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.5502, allocations: 0 / 0.6135 GB, free: 2.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001915/0.5504, allocations: 65.5 kB / 0.6136 GB, free: 2.297 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.5505, allocations: 51.52 kB / 0.6137 GB, free: 2.234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.777e-05/0.5506, allocations: 109.8 kB / 0.6138 GB, free: 2.117 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.5506, allocations: 25.7 kB / 0.6138 GB, free: 2.086 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.5506, allocations: 91.89 kB / 0.6139 GB, free: 1.992 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.5507, allocations: 23.73 kB / 0.6139 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.5507, allocations: 21.7 kB / 0.6139 GB, free: 1.941 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5508, allocations: 318.8 kB / 0.6142 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.5508, allocations: 8 kB / 0.6142 GB, free: 1.613 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.5509, allocations: 35.42 kB / 0.6143 GB, free: 1.566 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.004e-05/0.551, allocations: 51.36 kB / 0.6143 GB, free: 1.504 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.551, allocations: 0 / 0.6143 GB, free: 1.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001051/0.5511, allocations: 70.31 kB / 0.6144 GB, free: 1.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5511, allocations: 11.94 kB / 0.6144 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5511, allocations: 0 / 0.6144 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5511, allocations: 0 / 0.6144 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.5512, allocations: 19.98 kB / 0.6144 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.5512, allocations: 0 / 0.6144 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.5513, allocations: 8.328 kB / 0.6144 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.5513, allocations: 9.781 kB / 0.6144 GB, free: 1.383 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.878e-05/0.5514, allocations: 113.8 kB / 0.6145 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.5514, allocations: 11.92 kB / 0.6145 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.5515, allocations: 61.17 kB / 0.6146 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.5516, allocations: 0 / 0.6146 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5516, allocations: 4 kB / 0.6146 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5516, allocations: 7.984 kB / 0.6146 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.5518, allocations: 157.7 kB / 0.6148 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5518, allocations: 0 / 0.6148 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.5518, allocations: 4 kB / 0.6148 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5518, allocations: 3.938 kB / 0.6148 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.5518, allocations: 8 kB / 0.6148 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5518, allocations: 0 / 0.6148 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5518, allocations: 3.938 kB / 0.6148 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.552, allocations: 156.2 kB / 0.6149 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.552, allocations: 81.05 kB / 0.615 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.552, allocations: 7.938 kB / 0.615 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.5521, allocations: 4 kB / 0.615 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.5521, allocations: 0 / 0.615 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.5521, allocations: 7.938 kB / 0.615 GB, free: 0.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.337e-05/0.5522, allocations: 79.27 kB / 0.6151 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5522, allocations: 0 / 0.6151 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004483/0.5526, allocations: 131.9 kB / 0.6152 GB, free: 472 kB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000791/0.5534, allocations: 319 kB / 0.6155 GB, free: 156 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.5535, allocations: 36.16 kB / 0.6156 GB, free: 120 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5536, allocations: 0 / 0.6156 GB, free: 120 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.085e-05/0.5536, allocations: 12.08 kB / 0.6156 GB, free: 108 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.5538, allocations: 13.11 kB / 0.6156 GB, free: 96 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.5542, allocations: 141.7 kB / 0.6157 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.5544, allocations: 0.6846 MB / 0.6164 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.506e-05/0.5545, allocations: 17.34 kB / 0.6164 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.5545, allocations: 11.44 kB / 0.6164 GB, free: 15.19 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5545, allocations: 0 / 0.6164 GB, free: 15.19 MB / 462.1 MB Notification: Performance of Templates: time 0.006159/0.5607, allocations: 3.282 MB / 0.6196 GB, free: 11.91 MB / 462.1 MB 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches