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.0009301/0.00093, allocations: 183 kB / 13.19 MB, free: 2.129 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.268/1.268, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.0008025/0.0008023, allocations: 86.59 kB / 267.1 MB, free: 9.27 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.3144/0.3144, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.649e-05, allocations: 4 kB / 425.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 58.84 MB / 484.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.423/7.536, allocations: 3.57 GB / 4.043 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/7.537, allocations: 79.89 kB / 4.043 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2271/7.764, allocations: 106.9 MB / 4.147 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.743e-06/7.764, allocations: 0 / 4.147 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.325e-05/7.764, allocations: 4 kB / 4.147 GB, free: 4.75 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.003/7.767, allocations: 1.116 MB / 4.148 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/7.767, allocations: 12.03 kB / 4.148 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/7.767, allocations: 39.58 kB / 4.148 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/7.767, allocations: 254.6 kB / 4.148 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.505e-05/7.767, allocations: 127.6 kB / 4.149 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/7.767, allocations: 28 kB / 4.149 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/7.768, allocations: 0.5581 MB / 4.149 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/7.768, allocations: 0 / 4.149 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/7.768, allocations: 16 kB / 4.149 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/7.768, allocations: 32.44 kB / 4.149 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009687/7.769, allocations: 1.251 MB / 4.15 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2576/8.027, allocations: 1.919 MB / 4.152 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007541/8.028, allocations: 261.6 kB / 4.153 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/8.028, allocations: 114 kB / 4.153 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003434/8.031, allocations: 3.43 MB / 4.156 GB, free: 98.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/8.031, allocations: 37.12 kB / 4.156 GB, free: 98.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 1.933e-06/8.031, allocations: 1.875 kB / 4.156 GB, free: 98.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.001858/8.033, allocations: 0.6655 MB / 4.157 GB, free: 98.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/8.033, allocations: 59.97 kB / 4.157 GB, free: 98.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/8.033, allocations: 187.5 kB / 4.157 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/8.033, allocations: 33.95 kB / 4.157 GB, free: 98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/8.034, allocations: 191.3 kB / 4.157 GB, free: 97.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/8.034, allocations: 154.9 kB / 4.157 GB, free: 97.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/8.034, allocations: 10.72 kB / 4.157 GB, free: 97.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.929e-05/8.034, allocations: 336.8 kB / 4.158 GB, free: 97.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/8.034, allocations: 106.4 kB / 4.158 GB, free: 97.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/8.034, allocations: 411.3 kB / 4.158 GB, free: 97.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/8.035, allocations: 173.2 kB / 4.158 GB, free: 97.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/8.035, allocations: 7.688 kB / 4.158 GB, free: 97.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009583/8.036, allocations: 0.5577 MB / 4.159 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/8.036, allocations: 11.94 kB / 4.159 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/8.036, allocations: 11.03 kB / 4.159 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/8.036, allocations: 21.12 kB / 4.159 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/8.036, allocations: 208.4 kB / 4.159 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004367/8.037, allocations: 1.196 MB / 4.16 GB, free: 95.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/8.037, allocations: 27.72 kB / 4.16 GB, free: 95.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/8.037, allocations: 72 kB / 4.16 GB, free: 95.89 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 () * 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.0001248/8.037, allocations: 154.1 kB / 4.161 GB, free: 95.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/8.038, allocations: 30.78 kB / 4.161 GB, free: 95.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/8.039, allocations: 0.6998 MB / 4.161 GB, free: 95.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/8.039, allocations: 5.453 kB / 4.161 GB, free: 95.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/8.039, allocations: 0 / 4.161 GB, free: 95.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/8.039, allocations: 3.094 kB / 4.161 GB, free: 95.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008759/8.04, allocations: 0.6331 MB / 4.162 GB, free: 95.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/8.04, allocations: 4.609 kB / 4.162 GB, free: 95.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/8.04, allocations: 92.36 kB / 4.162 GB, free: 95.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/8.04, allocations: 2.188 kB / 4.162 GB, free: 95.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/8.04, allocations: 6.969 kB / 4.162 GB, free: 95.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003289/8.041, allocations: 1.173 MB / 4.163 GB, free: 94.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/8.041, allocations: 1 kB / 4.163 GB, free: 94.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/8.041, allocations: 352.1 kB / 4.163 GB, free: 93.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/8.041, allocations: 157.8 kB / 4.164 GB, free: 93.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/8.041, allocations: 6.406 kB / 4.164 GB, free: 93.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/8.042, allocations: 13.88 kB / 4.164 GB, free: 93.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/8.042, allocations: 20.31 kB / 4.164 GB, free: 93.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/8.042, allocations: 15.39 kB / 4.164 GB, free: 93.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001915/8.042, allocations: 182.7 kB / 4.164 GB, free: 93.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/8.042, allocations: 0 / 4.164 GB, free: 93.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002798/8.045, allocations: 0.6444 MB / 4.164 GB, free: 93.72 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 () * 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.002921/8.048, allocations: 1.344 MB / 4.166 GB, free: 93.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00102/8.049, allocations: 366.5 kB / 4.166 GB, free: 93.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/8.049, allocations: 0 / 4.166 GB, free: 93.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/8.049, allocations: 128.1 kB / 4.166 GB, free: 93.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/8.05, allocations: 88.92 kB / 4.166 GB, free: 93.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1454/8.195, allocations: 65.93 MB / 4.231 GB, free: 86.87 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/8.195, allocations: 0.7702 MB / 4.231 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009401/8.196, allocations: 200.5 kB / 4.232 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/8.196, allocations: 73.86 kB / 4.232 GB, free: 86.05 MB / 0.4948 GB Notification: Performance of SimCode: time 1.724e-06/8.196, allocations: 0 / 4.232 GB, free: 86.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.02952/8.226, allocations: 24.05 MB / 4.255 GB, free: 82.34 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