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.0009146/0.0009149, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.5 MB / 230.7 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009589/0.000959, allocations: 89.98 kB / 281.6 MB, free: 5.266 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.2404/0.2404, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.606e-05/2.612e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1747, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.464/9.639, allocations: 3.511 GB / 4.006 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/9.639, allocations: 77.58 kB / 4.006 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.211/9.85, allocations: 87.29 MB / 4.091 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.163e-06/9.85, allocations: 0 / 4.091 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.728e-05/9.85, allocations: 4 kB / 4.091 GB, free: 95.92 MB / 0.5105 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.00307/9.854, allocations: 1.024 MB / 4.092 GB, free: 94.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/9.854, allocations: 11.98 kB / 4.092 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/9.854, allocations: 35.62 kB / 4.092 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/9.854, allocations: 250.6 kB / 4.092 GB, free: 94.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/9.854, allocations: 123.6 kB / 4.092 GB, free: 94.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/9.854, allocations: 20 kB / 4.092 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001041/9.855, allocations: 1.184 MB / 4.093 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005593/9.856, allocations: 0.5058 MB / 4.094 GB, free: 92.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/9.856, allocations: 8 kB / 4.094 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/9.856, allocations: 0 / 4.094 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.109e-05/9.856, allocations: 24.55 kB / 4.094 GB, free: 92.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003729/9.86, allocations: 4.529 MB / 4.098 GB, free: 87.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/9.86, allocations: 114.8 kB / 4.098 GB, free: 87.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.071e-05/9.86, allocations: 48.84 kB / 4.099 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/9.86, allocations: 356.4 kB / 4.099 GB, free: 86.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/9.86, allocations: 42.5 kB / 4.099 GB, free: 86.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.615e-06/9.86, allocations: 0 / 4.099 GB, free: 86.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.001102/9.861, allocations: 311 kB / 4.099 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/9.862, allocations: 51.41 kB / 4.099 GB, free: 86.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/9.862, allocations: 257.9 kB / 4.099 GB, free: 86.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/9.862, allocations: 25.7 kB / 4.1 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/9.862, allocations: 274.5 kB / 4.1 GB, free: 85.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/9.862, allocations: 71.09 kB / 4.1 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/9.862, allocations: 0 / 4.1 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.261e-05/9.862, allocations: 334.8 kB / 4.1 GB, free: 85.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/9.862, allocations: 89.53 kB / 4.1 GB, free: 85.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/9.862, allocations: 401 kB / 4.101 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/9.864, allocations: 302 kB / 4.101 GB, free: 84.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/9.864, allocations: 0 / 4.101 GB, free: 84.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001687/9.865, allocations: 0.6301 MB / 4.102 GB, free: 83.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/9.865, allocations: 13.23 kB / 4.102 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/9.865, allocations: 12 kB / 4.102 GB, free: 83.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/9.866, allocations: 16 kB / 4.102 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/9.866, allocations: 195.7 kB / 4.102 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004706/9.867, allocations: 1.211 MB / 4.103 GB, free: 82.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/9.867, allocations: 15.91 kB / 4.103 GB, free: 82.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-05/9.867, allocations: 67.97 kB / 4.103 GB, free: 82.29 MB / 0.5105 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.000183/9.867, allocations: 140.7 kB / 4.103 GB, free: 82.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/9.868, allocations: 27.72 kB / 4.103 GB, free: 82.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004951/9.868, allocations: 218.2 kB / 4.103 GB, free: 81.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/9.868, allocations: 4 kB / 4.103 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/9.868, allocations: 0 / 4.103 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/9.868, allocations: 3.984 kB / 4.103 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007077/9.869, allocations: 0.5075 MB / 4.104 GB, free: 81.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/9.869, allocations: 3.984 kB / 4.104 GB, free: 81.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/9.869, allocations: 75.94 kB / 4.104 GB, free: 81.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/9.869, allocations: 8.031 kB / 4.104 GB, free: 81.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/9.869, allocations: 0 / 4.104 GB, free: 81.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003997/9.87, allocations: 1.191 MB / 4.105 GB, free: 80.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/9.87, allocations: 4.031 kB / 4.105 GB, free: 80.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/9.87, allocations: 295 kB / 4.105 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/9.87, allocations: 160.7 kB / 4.106 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/9.87, allocations: 0 / 4.106 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/9.87, allocations: 7.938 kB / 4.106 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/9.87, allocations: 11.98 kB / 4.106 GB, free: 79.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/9.87, allocations: 19.92 kB / 4.106 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001341/9.871, allocations: 178 kB / 4.106 GB, free: 79.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.222e-06/9.871, allocations: 0 / 4.106 GB, free: 79.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0022/9.873, allocations: 0.5305 MB / 4.106 GB, free: 78.78 MB / 0.5105 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.003252/9.876, allocations: 1.239 MB / 4.108 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007958/9.877, allocations: 299.1 kB / 4.108 GB, free: 77.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/9.877, allocations: 0 / 4.108 GB, free: 77.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002886/9.877, allocations: 99.98 kB / 4.108 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/9.878, allocations: 51.17 kB / 4.108 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1098/9.988, allocations: 50.46 MB / 4.157 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/9.988, allocations: 0.765 MB / 4.158 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0011/9.989, allocations: 234.7 kB / 4.158 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/9.989, allocations: 63.41 kB / 4.158 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/9.989, allocations: 4 kB / 4.158 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of Templates: time 0.0219/10.01, allocations: 15.39 MB / 4.173 GB, free: 9.625 MB / 0.5105 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/jenkins/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