Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001706/0.001706, allocations: 184 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.765/1.765, 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.0009392/0.0009393, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.2231/0.2231, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003605, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1299, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.247/9.377, allocations: 3.57 GB / 4.049 GB, free: 29.94 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/9.378, allocations: 79.7 kB / 4.049 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6467/10.02, allocations: 107 MB / 4.153 GB, free: 126 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.472e-06/10.02, allocations: 7.938 kB / 4.153 GB, free: 126 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.533e-05/10.02, allocations: 4 kB / 4.153 GB, free: 126 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.004047/10.03, allocations: 1.138 MB / 4.154 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/10.03, allocations: 8.031 kB / 4.154 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/10.03, allocations: 31.72 kB / 4.154 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/10.03, allocations: 262.6 kB / 4.155 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/10.03, allocations: 127.5 kB / 4.155 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/10.03, allocations: 35.94 kB / 4.155 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/10.03, allocations: 0.5603 MB / 4.155 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/10.03, allocations: 3.984 kB / 4.155 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/10.03, allocations: 19.98 kB / 4.155 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/10.03, allocations: 24.55 kB / 4.155 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009989/10.03, allocations: 1.259 MB / 4.157 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/10.03, allocations: 1.917 MB / 4.159 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006241/10.03, allocations: 268.2 kB / 4.159 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00306/10.04, allocations: 3.291 MB / 4.162 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/10.04, allocations: 42.56 kB / 4.162 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 1.884e-06/10.04, allocations: 0 / 4.162 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.001745/10.04, allocations: 0.8301 MB / 4.163 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/10.04, allocations: 55.41 kB / 4.163 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/10.04, allocations: 185 kB / 4.163 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/10.04, allocations: 37.7 kB / 4.163 GB, free: 115 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.389e-05/10.04, allocations: 191.8 kB / 4.163 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.439e-05/10.04, allocations: 153.8 kB / 4.163 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/10.04, allocations: 12 kB / 4.164 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.637e-05/10.04, allocations: 342.8 kB / 4.164 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/10.04, allocations: 109.2 kB / 4.164 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/10.04, allocations: 417.5 kB / 4.164 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/10.04, allocations: 168.8 kB / 4.164 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/10.04, allocations: 8 kB / 4.165 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000814/10.04, allocations: 0.5703 MB / 4.165 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/10.04, allocations: 15.47 kB / 4.165 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/10.04, allocations: 12 kB / 4.165 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/10.04, allocations: 16 kB / 4.165 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006446/10.04, allocations: 203.6 kB / 4.165 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005265/10.04, allocations: 1.199 MB / 4.166 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/10.04, allocations: 27.98 kB / 4.166 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/10.04, allocations: 75.91 kB / 4.167 GB, free: 111.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000211/10.04, allocations: 177.5 kB / 4.167 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/10.04, allocations: 31.73 kB / 4.167 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/10.04, allocations: 0.7014 MB / 4.167 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/10.04, allocations: 4 kB / 4.167 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/10.04, allocations: 0 / 4.167 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/10.04, allocations: 0 / 4.167 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007954/10.04, allocations: 0.6404 MB / 4.168 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/10.04, allocations: 0 / 4.168 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/10.05, allocations: 99.02 kB / 4.168 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/10.05, allocations: 3.984 kB / 4.168 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/10.05, allocations: 8 kB / 4.168 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004917/10.05, allocations: 1.168 MB / 4.169 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/10.05, allocations: 4.031 kB / 4.169 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/10.05, allocations: 356.3 kB / 4.17 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/10.05, allocations: 152.7 kB / 4.17 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/10.05, allocations: 4 kB / 4.17 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/10.05, allocations: 15.98 kB / 4.17 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/10.05, allocations: 15.97 kB / 4.17 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/10.05, allocations: 16 kB / 4.17 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001931/10.05, allocations: 185.9 kB / 4.17 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/10.05, allocations: 4 kB / 4.17 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003408/10.05, allocations: 0.6436 MB / 4.171 GB, free: 106.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (33): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002879/10.05, allocations: 1.331 MB / 4.172 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007786/10.05, allocations: 369.1 kB / 4.172 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/10.05, allocations: 0 / 4.172 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000298/10.05, allocations: 139.7 kB / 4.172 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/10.06, allocations: 85.22 kB / 4.173 GB, free: 105 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1416/10.2, allocations: 66.46 MB / 4.237 GB, free: 37.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/10.2, allocations: 0.774 MB / 4.238 GB, free: 37.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001129/10.2, allocations: 182.9 kB / 4.238 GB, free: 36.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/10.2, allocations: 75.39 kB / 4.238 GB, free: 36.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.443e-06/10.2, allocations: 0 / 4.238 GB, free: 36.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.0294/10.23, allocations: 22.24 MB / 4.26 GB, free: 14.59 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches