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.001499/0.001499, allocations: 177 kB / 17.06 MB, free: 5.094 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.357/1.357, allocations: 223.2 MB / 241 MB, free: 10.15 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.001068/0.001068, allocations: 87.17 kB / 292.2 MB, free: 10.7 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.3897/0.3897, allocations: 44.21 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003939, allocations: 8 kB / 459.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3962, allocations: 61.9 MB / 0.5096 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.387/8.784, allocations: 3.512 GB / 4.021 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/8.784, allocations: 67.91 kB / 4.021 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1946/8.979, allocations: 88.47 MB / 4.108 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.785e-06/8.979, allocations: 0 / 4.108 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.065e-05/8.979, allocations: 8 kB / 4.108 GB, free: 26.1 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.004002/8.983, allocations: 1.034 MB / 4.109 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/8.983, allocations: 8.031 kB / 4.109 GB, free: 25.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/8.983, allocations: 39.62 kB / 4.109 GB, free: 24.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/8.983, allocations: 250.6 kB / 4.109 GB, free: 24.69 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/8.983, allocations: 131.4 kB / 4.109 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/8.983, allocations: 28 kB / 4.109 GB, free: 24.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007969/8.984, allocations: 0.5603 MB / 4.11 GB, free: 23.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/8.984, allocations: 0 / 4.11 GB, free: 23.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/8.984, allocations: 12 kB / 4.11 GB, free: 23.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-05/8.984, allocations: 28.55 kB / 4.11 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/8.986, allocations: 1.247 MB / 4.111 GB, free: 22.63 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/8.988, allocations: 1.913 MB / 4.113 GB, free: 20.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/8.988, allocations: 260.9 kB / 4.113 GB, free: 20.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003021/8.991, allocations: 3.382 MB / 4.116 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/8.991, allocations: 38.5 kB / 4.116 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 2.124e-06/8.991, allocations: 4 kB / 4.116 GB, free: 16.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.001829/8.993, allocations: 0.8242 MB / 4.117 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/8.993, allocations: 55.41 kB / 4.117 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/8.993, allocations: 174.6 kB / 4.117 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/8.993, allocations: 37.7 kB / 4.117 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/8.993, allocations: 199.8 kB / 4.118 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/8.994, allocations: 149.8 kB / 4.118 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/8.994, allocations: 8 kB / 4.118 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.045e-05/8.994, allocations: 342.8 kB / 4.118 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/8.994, allocations: 105.2 kB / 4.118 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/8.994, allocations: 409.6 kB / 4.119 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/8.994, allocations: 176.7 kB / 4.119 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/8.994, allocations: 4 kB / 4.119 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007696/8.995, allocations: 0.5642 MB / 4.119 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/8.995, allocations: 11.98 kB / 4.119 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/8.995, allocations: 12 kB / 4.119 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/8.995, allocations: 16 kB / 4.119 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/8.996, allocations: 199.6 kB / 4.119 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005992/8.996, allocations: 1.196 MB / 4.121 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/8.997, allocations: 23.91 kB / 4.121 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-05/8.997, allocations: 63.97 kB / 4.121 GB, free: 11.52 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.0001922/8.997, allocations: 182.2 kB / 4.121 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/8.997, allocations: 27.72 kB / 4.121 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/8.998, allocations: 0.6856 MB / 4.122 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/8.998, allocations: 8 kB / 4.122 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/8.998, allocations: 0 / 4.122 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/8.999, allocations: 3.984 kB / 4.122 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007878/8.999, allocations: 0.6427 MB / 4.122 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/8.999, allocations: 4 kB / 4.122 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/9, allocations: 87.94 kB / 4.122 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/9, allocations: 4 kB / 4.122 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/9, allocations: 8 kB / 4.122 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003762/9, allocations: 1.172 MB / 4.123 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/9, allocations: 3.938 kB / 4.123 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/9.001, allocations: 352.3 kB / 4.124 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/9.001, allocations: 152.7 kB / 4.124 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.992e-05/9.001, allocations: 4 kB / 4.124 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/9.001, allocations: 12 kB / 4.124 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/9.001, allocations: 19.97 kB / 4.124 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/9.001, allocations: 19.97 kB / 4.124 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001481/9.001, allocations: 181.9 kB / 4.124 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/9.001, allocations: 0 / 4.124 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002397/9.004, allocations: 0.5579 MB / 4.125 GB, free: 7.203 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.002532/9.006, allocations: 1.156 MB / 4.126 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008678/9.007, allocations: 365.2 kB / 4.126 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/9.007, allocations: 0 / 4.126 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/9.007, allocations: 131.7 kB / 4.126 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/9.008, allocations: 86.58 kB / 4.126 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4111/9.419, allocations: 53.73 MB / 4.179 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/9.419, allocations: 0.7754 MB / 4.18 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008801/9.42, allocations: 201 kB / 4.18 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/9.42, allocations: 72.7 kB / 4.18 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of SimCode: time 9.02e-07/9.42, allocations: 0 / 4.18 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.02845/9.449, allocations: 20.49 MB / 4.2 GB, free: 122.8 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/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