Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 182.8 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009316/0.0009318, allocations: 103.2 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3314/0.3314, allocations: 44.15 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003769, allocations: 8 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3653, allocations: 61.88 MB / 0.5107 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.974/7.339, allocations: 3.512 GB / 4.022 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/7.339, allocations: 75.95 kB / 4.022 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5238/7.863, allocations: 88.29 MB / 4.109 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.815e-06/7.863, allocations: 4 kB / 4.109 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.738e-05/7.863, allocations: 4 kB / 4.109 GB, free: 141.6 MB / 0.5261 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.003373/7.867, allocations: 1.033 MB / 4.11 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/7.867, allocations: 12.03 kB / 4.11 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/7.867, allocations: 36.56 kB / 4.11 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/7.867, allocations: 248 kB / 4.11 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/7.867, allocations: 128 kB / 4.11 GB, free: 140 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/7.867, allocations: 28.38 kB / 4.11 GB, free: 140 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/7.868, allocations: 0.5609 MB / 4.111 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/7.868, allocations: 7.938 kB / 4.111 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/7.868, allocations: 12 kB / 4.111 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/7.868, allocations: 24.55 kB / 4.111 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009967/7.869, allocations: 1.255 MB / 4.112 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/7.871, allocations: 1.847 MB / 4.114 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005642/7.872, allocations: 256.7 kB / 4.114 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/7.872, allocations: 122 kB / 4.114 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002836/7.875, allocations: 3.312 MB / 4.117 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/7.875, allocations: 42.56 kB / 4.117 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 3.347e-06/7.875, allocations: 0 / 4.117 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.00196/7.877, allocations: 0.7413 MB / 4.118 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/7.877, allocations: 55.41 kB / 4.118 GB, free: 131 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/7.877, allocations: 195.5 kB / 4.118 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/7.877, allocations: 37.7 kB / 4.118 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/7.877, allocations: 195.7 kB / 4.119 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/7.877, allocations: 153.8 kB / 4.119 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/7.877, allocations: 12 kB / 4.119 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.501e-05/7.877, allocations: 342.8 kB / 4.119 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/7.877, allocations: 101.2 kB / 4.119 GB, free: 130 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/7.878, allocations: 417.3 kB / 4.12 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/7.878, allocations: 0.5717 MB / 4.12 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/7.878, allocations: 8 kB / 4.12 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008014/7.879, allocations: 0.5541 MB / 4.121 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/7.879, allocations: 18 kB / 4.121 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/7.879, allocations: 12 kB / 4.121 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/7.879, allocations: 23.92 kB / 4.121 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/7.88, allocations: 203.7 kB / 4.121 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005682/7.88, allocations: 1.192 MB / 4.122 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/7.881, allocations: 27.84 kB / 4.122 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-05/7.881, allocations: 63.97 kB / 4.122 GB, free: 126.6 MB / 0.5261 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.0002026/7.881, allocations: 173.5 kB / 4.122 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/7.881, allocations: 27.72 kB / 4.122 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/7.882, allocations: 0.678 MB / 4.123 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/7.882, allocations: 8 kB / 4.123 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/7.882, allocations: 3.984 kB / 4.123 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/7.882, allocations: 3.938 kB / 4.123 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007489/7.883, allocations: 0.6238 MB / 4.124 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/7.883, allocations: 4.062 kB / 4.124 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/7.884, allocations: 87.88 kB / 4.124 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/7.884, allocations: 11.92 kB / 4.124 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/7.884, allocations: 8 kB / 4.124 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003761/7.884, allocations: 1.168 MB / 4.125 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/7.884, allocations: 3.938 kB / 4.125 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/7.884, allocations: 325 kB / 4.125 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/7.884, allocations: 140.8 kB / 4.125 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/7.884, allocations: 4 kB / 4.125 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/7.885, allocations: 12 kB / 4.125 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/7.885, allocations: 27.84 kB / 4.125 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/7.885, allocations: 19.98 kB / 4.125 GB, free: 123 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001442/7.885, allocations: 182 kB / 4.126 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/7.885, allocations: 3.938 kB / 4.126 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002291/7.887, allocations: 0.5539 MB / 4.126 GB, free: 122.3 MB / 0.5261 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.002311/7.89, allocations: 1.159 MB / 4.127 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008547/7.89, allocations: 364.8 kB / 4.128 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/7.89, allocations: 0 / 4.128 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003011/7.891, allocations: 133.2 kB / 4.128 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/7.891, allocations: 92.48 kB / 4.128 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06943/7.961, allocations: 39.17 MB / 4.166 GB, free: 80.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/7.961, allocations: 0.7701 MB / 4.167 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001008/7.962, allocations: 202.8 kB / 4.167 GB, free: 79.85 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/7.963, allocations: 79.38 kB / 4.167 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/7.963, allocations: 0 / 4.167 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of Templates: time 0.02752/7.99, allocations: 21.01 MB / 4.188 GB, free: 58.82 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches