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.002156/0.002156, allocations: 173.5 kB / 16.76 MB, free: 4.934 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.58/1.58, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0008187/0.0008188, allocations: 89.41 kB / 271.3 MB, free: 8.25 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.3605/0.3605, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003864, allocations: 8 kB / 432.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1274, allocations: 58.85 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.099/8.227, allocations: 3.57 GB / 4.05 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/8.227, allocations: 72.47 kB / 4.05 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5647/8.792, allocations: 106.9 MB / 4.154 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.294e-06/8.792, allocations: 0 / 4.154 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.956e-05/8.792, allocations: 4.438 kB / 4.154 GB, free: 105.4 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.0043/8.796, allocations: 1.132 MB / 4.156 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/8.796, allocations: 9.062 kB / 4.156 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/8.796, allocations: 43.53 kB / 4.156 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/8.797, allocations: 254.5 kB / 4.156 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/8.797, allocations: 128.3 kB / 4.156 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.488e-05/8.797, allocations: 30.25 kB / 4.156 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/8.798, allocations: 0.5692 MB / 4.157 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/8.798, allocations: 5.719 kB / 4.157 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.733e-05/8.799, allocations: 17.28 kB / 4.157 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/8.799, allocations: 22.31 kB / 4.157 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/8.8, allocations: 1.259 MB / 4.158 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/8.803, allocations: 1.875 MB / 4.16 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/8.804, allocations: 269.8 kB / 4.16 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/8.804, allocations: 119.2 kB / 4.16 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004042/8.808, allocations: 3.571 MB / 4.164 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/8.808, allocations: 39 kB / 4.164 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 3.156e-06/8.808, allocations: 0 / 4.164 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.002293/8.81, allocations: 0.7516 MB / 4.164 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/8.81, allocations: 59.38 kB / 4.164 GB, free: 99.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/8.811, allocations: 202.9 kB / 4.165 GB, free: 99.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/8.811, allocations: 37.08 kB / 4.165 GB, free: 99.76 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/8.811, allocations: 190 kB / 4.165 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/8.811, allocations: 152.8 kB / 4.165 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/8.811, allocations: 10.75 kB / 4.165 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/8.811, allocations: 341.3 kB / 4.165 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/8.811, allocations: 110 kB / 4.165 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/8.812, allocations: 417.8 kB / 4.166 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000946/8.813, allocations: 0.5824 MB / 4.166 GB, free: 98.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/8.813, allocations: 3.469 kB / 4.166 GB, free: 98.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001325/8.814, allocations: 0.5682 MB / 4.167 GB, free: 98.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/8.814, allocations: 9.562 kB / 4.167 GB, free: 98.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/8.814, allocations: 18.62 kB / 4.167 GB, free: 98.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.896e-05/8.814, allocations: 14.25 kB / 4.167 GB, free: 98.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006949/8.815, allocations: 212 kB / 4.167 GB, free: 98.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005179/8.815, allocations: 1.192 MB / 4.168 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/8.816, allocations: 29.11 kB / 4.168 GB, free: 97.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/8.816, allocations: 77.78 kB / 4.168 GB, free: 97.24 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.0002128/8.816, allocations: 171 kB / 4.169 GB, free: 97.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.465e-05/8.816, allocations: 27.09 kB / 4.169 GB, free: 97.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/8.818, allocations: 0.6922 MB / 4.169 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/8.818, allocations: 6.344 kB / 4.169 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/8.818, allocations: 3.938 kB / 4.169 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/8.818, allocations: 0 / 4.169 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009823/8.819, allocations: 0.633 MB / 4.17 GB, free: 96.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/8.819, allocations: 3.688 kB / 4.17 GB, free: 96.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/8.819, allocations: 91.25 kB / 4.17 GB, free: 96.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/8.819, allocations: 7.188 kB / 4.17 GB, free: 96.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/8.819, allocations: 10.17 kB / 4.17 GB, free: 96.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000389/8.82, allocations: 1.168 MB / 4.171 GB, free: 95.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/8.82, allocations: 0 / 4.171 GB, free: 95.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/8.82, allocations: 333.6 kB / 4.171 GB, free: 95.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/8.82, allocations: 139.7 kB / 4.172 GB, free: 95.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/8.82, allocations: 14.45 kB / 4.172 GB, free: 95.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/8.82, allocations: 21.56 kB / 4.172 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/8.821, allocations: 13.91 kB / 4.172 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/8.821, allocations: 18.7 kB / 4.172 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001711/8.821, allocations: 183.6 kB / 4.172 GB, free: 95.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/8.821, allocations: 3.281 kB / 4.172 GB, free: 95.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002938/8.824, allocations: 0.6444 MB / 4.172 GB, free: 95 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.004677/8.828, allocations: 1.332 MB / 4.174 GB, free: 94.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001095/8.829, allocations: 381.6 kB / 4.174 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/8.83, allocations: 0 / 4.174 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004252/8.83, allocations: 138.3 kB / 4.174 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/8.831, allocations: 85.72 kB / 4.174 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09708/8.928, allocations: 44.53 MB / 4.218 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/8.928, allocations: 0.7716 MB / 4.219 GB, free: 88.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001145/8.929, allocations: 188.6 kB / 4.219 GB, free: 88.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/8.93, allocations: 79.69 kB / 4.219 GB, free: 88.26 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/8.93, allocations: 0 / 4.219 GB, free: 88.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.03634/8.966, allocations: 22.81 MB / 4.241 GB, free: 86.14 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/jenkins1/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