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.001161/0.001161, allocations: 175.5 kB / 8.004 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.738/1.738, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0008761/0.0008761, allocations: 90.62 kB / 261.7 MB, free: 1.68 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.2073/0.2073, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.94e-05/1.942e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1332, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.962/9.095, allocations: 3.569 GB / 4.035 GB, free: 183.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003649/9.095, allocations: 77.59 kB / 4.035 GB, free: 183.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2607/9.356, allocations: 105.7 MB / 4.138 GB, free: 95.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.854e-06/9.356, allocations: 0 / 4.138 GB, free: 95.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.053e-05/9.356, allocations: 4 kB / 4.138 GB, free: 95.85 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.00396/9.36, allocations: 1.118 MB / 4.14 GB, free: 94.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/9.36, allocations: 12.03 kB / 4.14 GB, free: 94.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/9.361, allocations: 39.67 kB / 4.14 GB, free: 94.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/9.361, allocations: 246.7 kB / 4.14 GB, free: 94.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/9.361, allocations: 123.5 kB / 4.14 GB, free: 94.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/9.361, allocations: 20 kB / 4.14 GB, free: 94.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001112/9.362, allocations: 1.196 MB / 4.141 GB, free: 93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/9.363, allocations: 0.5097 MB / 4.142 GB, free: 92.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/9.363, allocations: 7.938 kB / 4.142 GB, free: 92.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-05/9.363, allocations: 3.953 kB / 4.142 GB, free: 92.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/9.363, allocations: 32.55 kB / 4.142 GB, free: 92.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004339/9.367, allocations: 4.287 MB / 4.146 GB, free: 87.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/9.368, allocations: 122.8 kB / 4.146 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/9.368, allocations: 44.84 kB / 4.146 GB, free: 87.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002643/9.368, allocations: 356.4 kB / 4.146 GB, free: 86.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/9.368, allocations: 38.56 kB / 4.146 GB, free: 86.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 3.456e-06/9.368, allocations: 0 / 4.146 GB, free: 86.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.001264/9.369, allocations: 311.9 kB / 4.147 GB, free: 86.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/9.369, allocations: 55.41 kB / 4.147 GB, free: 86.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/9.37, allocations: 258 kB / 4.147 GB, free: 86.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/9.37, allocations: 25.7 kB / 4.147 GB, free: 86.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/9.37, allocations: 266.5 kB / 4.147 GB, free: 85.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/9.37, allocations: 71.09 kB / 4.147 GB, free: 85.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/9.37, allocations: 4 kB / 4.147 GB, free: 85.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/9.37, allocations: 334.8 kB / 4.148 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/9.37, allocations: 93.52 kB / 4.148 GB, free: 85.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/9.37, allocations: 397.1 kB / 4.148 GB, free: 84.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/9.372, allocations: 335 kB / 4.148 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/9.372, allocations: 4 kB / 4.148 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001953/9.374, allocations: 0.6616 MB / 4.149 GB, free: 83.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/9.374, allocations: 15.98 kB / 4.149 GB, free: 83.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/9.374, allocations: 8 kB / 4.149 GB, free: 83.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.859e-05/9.374, allocations: 16 kB / 4.149 GB, free: 83.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/9.375, allocations: 203.7 kB / 4.149 GB, free: 83.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005875/9.375, allocations: 1.215 MB / 4.151 GB, free: 82.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/9.376, allocations: 12 kB / 4.151 GB, free: 82.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/9.376, allocations: 79.97 kB / 4.151 GB, free: 82.33 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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.0002016/9.376, allocations: 136.7 kB / 4.151 GB, free: 82.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/9.376, allocations: 23.72 kB / 4.151 GB, free: 82.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/9.377, allocations: 228.2 kB / 4.151 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/9.377, allocations: 4 kB / 4.151 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/9.377, allocations: 0 / 4.151 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/9.377, allocations: 3.953 kB / 4.151 GB, free: 81.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000696/9.377, allocations: 0.5087 MB / 4.151 GB, free: 81.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/9.377, allocations: 0 / 4.151 GB, free: 81.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/9.378, allocations: 75.88 kB / 4.152 GB, free: 81.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/9.378, allocations: 4 kB / 4.152 GB, free: 81.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/9.378, allocations: 32 / 4.152 GB, free: 81.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004227/9.378, allocations: 1.188 MB / 4.153 GB, free: 80.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/9.378, allocations: 4.031 kB / 4.153 GB, free: 80.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/9.379, allocations: 293.3 kB / 4.153 GB, free: 79.74 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/9.379, allocations: 164.7 kB / 4.153 GB, free: 79.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/9.379, allocations: 7.938 kB / 4.153 GB, free: 79.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/9.379, allocations: 4 kB / 4.153 GB, free: 79.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/9.379, allocations: 11.98 kB / 4.153 GB, free: 79.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/9.379, allocations: 15.98 kB / 4.153 GB, free: 79.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001538/9.379, allocations: 186 kB / 4.153 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/9.379, allocations: 0 / 4.153 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002848/9.382, allocations: 0.6203 MB / 4.154 GB, free: 78.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * 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.00478/9.387, allocations: 1.427 MB / 4.155 GB, free: 77.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001222/9.388, allocations: 314 kB / 4.156 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/9.388, allocations: 8.188 kB / 4.156 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003454/9.389, allocations: 96.02 kB / 4.156 GB, free: 76.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/9.389, allocations: 44.52 kB / 4.156 GB, free: 76.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1393/9.529, allocations: 60.25 MB / 4.215 GB, free: 16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/9.529, allocations: 0.7649 MB / 4.215 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001278/9.53, allocations: 226.7 kB / 4.216 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/9.531, allocations: 67.39 kB / 4.216 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of SimCode: time 1.372e-06/9.531, allocations: 0 / 4.216 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of Templates: time 0.3458/9.876, allocations: 16.92 MB / 4.232 GB, free: 106.1 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