Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0009435/0.0009437, allocations: 181.2 kB / 17.41 MB, free: 4.395 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.301/1.301, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.000769/0.000769, allocations: 91.72 kB / 271.9 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.3472/0.3472, allocations: 43.57 MB / 363.8 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003758, allocations: 11.98 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1082, allocations: 58.84 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.854/6.962, allocations: 3.57 GB / 4.05 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/6.963, allocations: 75.97 kB / 4.05 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.235/7.198, allocations: 106.9 MB / 4.154 GB, free: 16.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.422e-06/7.198, allocations: 0 / 4.154 GB, free: 16.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.289e-05/7.198, allocations: 4 kB / 4.154 GB, free: 16.92 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.00332/7.201, allocations: 1.132 MB / 4.156 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/7.201, allocations: 8.031 kB / 4.156 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/7.201, allocations: 36.64 kB / 4.156 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/7.202, allocations: 259.9 kB / 4.156 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/7.202, allocations: 128 kB / 4.156 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/7.202, allocations: 36.25 kB / 4.156 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000662/7.202, allocations: 0.5726 MB / 4.157 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/7.202, allocations: 3.938 kB / 4.157 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/7.203, allocations: 16 kB / 4.157 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/7.203, allocations: 28.55 kB / 4.157 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/7.204, allocations: 1.255 MB / 4.158 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/7.206, allocations: 1.869 MB / 4.16 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/7.206, allocations: 272 kB / 4.16 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/7.206, allocations: 118.1 kB / 4.16 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003045/7.209, allocations: 3.571 MB / 4.164 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/7.209, allocations: 38.56 kB / 4.164 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/7.209, allocations: 0 / 4.164 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.00174/7.211, allocations: 0.7571 MB / 4.164 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/7.211, allocations: 55.41 kB / 4.164 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/7.211, allocations: 205.8 kB / 4.165 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/7.211, allocations: 33.7 kB / 4.165 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/7.211, allocations: 187.8 kB / 4.165 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/7.212, allocations: 153.8 kB / 4.165 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/7.212, allocations: 16 kB / 4.165 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.385e-05/7.212, allocations: 338.8 kB / 4.165 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/7.212, allocations: 113.2 kB / 4.165 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/7.212, allocations: 413.4 kB / 4.166 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/7.213, allocations: 0.5747 MB / 4.166 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/7.213, allocations: 4 kB / 4.166 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007743/7.213, allocations: 0.5747 MB / 4.167 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/7.213, allocations: 12 kB / 4.167 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/7.213, allocations: 11.94 kB / 4.167 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/7.213, allocations: 16.81 kB / 4.167 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/7.214, allocations: 207.7 kB / 4.167 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004057/7.215, allocations: 1.199 MB / 4.168 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/7.215, allocations: 28.17 kB / 4.168 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.521e-05/7.215, allocations: 75.98 kB / 4.168 GB, free: 1.375 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.0001548/7.215, allocations: 171.6 kB / 4.169 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/7.215, allocations: 27.72 kB / 4.169 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/7.216, allocations: 0.683 MB / 4.169 GB, free: 460 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/7.216, allocations: 8 kB / 4.169 GB, free: 452 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/7.216, allocations: 7.875 kB / 4.169 GB, free: 444 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/7.216, allocations: 3.984 kB / 4.169 GB, free: 440 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2864/7.503, allocations: 0.6207 MB / 4.17 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/7.503, allocations: 2.719 kB / 4.17 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000599/7.503, allocations: 93.23 kB / 4.17 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/7.504, allocations: 5.031 kB / 4.17 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/7.504, allocations: 7.062 kB / 4.17 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003693/7.504, allocations: 1.168 MB / 4.171 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/7.504, allocations: 1.062 kB / 4.171 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/7.504, allocations: 334.7 kB / 4.171 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/7.505, allocations: 146.3 kB / 4.172 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/7.505, allocations: 13.09 kB / 4.172 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/7.505, allocations: 10.81 kB / 4.172 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/7.505, allocations: 22.53 kB / 4.172 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/7.505, allocations: 14.88 kB / 4.172 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002162/7.505, allocations: 184.5 kB / 4.172 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.505, allocations: 0 / 4.172 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002755/7.508, allocations: 0.6514 MB / 4.172 GB, free: 100.6 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.003368/7.512, allocations: 1.337 MB / 4.174 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001172/7.513, allocations: 373 kB / 4.174 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/7.513, allocations: 1.281 kB / 4.174 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004197/7.513, allocations: 140.5 kB / 4.174 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/7.514, allocations: 84.86 kB / 4.174 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08469/7.599, allocations: 44.56 MB / 4.218 GB, free: 97.69 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/7.599, allocations: 0.7712 MB / 4.219 GB, free: 96.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/7.599, allocations: 95.08 kB / 4.219 GB, free: 96.97 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/7.599, allocations: 1.125 kB / 4.219 GB, free: 96.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.03227/7.632, allocations: 17.13 MB / 4.235 GB, free: 95 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches