Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3441/0.3441, allocations: 34.26 MB / 295.3 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.113e-05, allocations: 2.312 kB / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3493/0.3494, allocations: 132 MB / 0.4974 GB, free: 24.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005023/0.3544, allocations: 4.757 MB / 0.5021 GB, free: 21.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.3545, allocations: 1.188 kB / 0.5021 GB, free: 21.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.3548, allocations: 51.27 kB / 0.5021 GB, free: 21.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.3584, allocations: 1.357 MB / 0.5034 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.3587, allocations: 141 kB / 0.5036 GB, free: 20.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.3592, allocations: 406.3 kB / 0.504 GB, free: 20.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.3593, allocations: 12.06 kB / 0.504 GB, free: 20.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.3596, allocations: 226.9 kB / 0.5042 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.3599, allocations: 160.8 kB / 0.5043 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.36, allocations: 9.031 kB / 0.5043 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.3619, allocations: 0.9771 MB / 0.5053 GB, free: 19.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.362, allocations: 45.73 kB / 0.5053 GB, free: 19.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.3621, allocations: 82.55 kB / 0.5054 GB, free: 19.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.3635, allocations: 0.9538 MB / 0.5064 GB, free: 19.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3635, allocations: 0 / 0.5064 GB, free: 19.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3635, allocations: 1.375 kB / 0.5064 GB, free: 19.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3635, allocations: 4 kB / 0.5064 GB, free: 19.47 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001271/0.3648, allocations: 0.617 MB / 0.507 GB, free: 19.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3648, allocations: 9.625 kB / 0.507 GB, free: 19.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007549/0.3724, allocations: 0.7164 MB / 0.5077 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.3728, allocations: 209.6 kB / 0.5079 GB, free: 18.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.373, allocations: 226.5 kB / 0.5081 GB, free: 18.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.3731, allocations: 29.41 kB / 0.5081 GB, free: 18.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.3742, allocations: 0.7381 MB / 0.5088 GB, free: 18.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3742, allocations: 1.375 kB / 0.5088 GB, free: 18.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-05/0.3743, allocations: 12.12 kB / 0.5088 GB, free: 18.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.3743, allocations: 6.875 kB / 0.5089 GB, free: 18.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.3754, allocations: 0.5881 MB / 0.5094 GB, free: 17.88 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.3771, allocations: 1.411 MB / 0.5108 GB, free: 16.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.3774, allocations: 146.3 kB / 0.5109 GB, free: 16.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.3776, allocations: 71.31 kB / 0.511 GB, free: 16.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009702/0.3785, allocations: 0.4926 MB / 0.5115 GB, free: 16.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.3786, allocations: 36.97 kB / 0.5115 GB, free: 16.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.3786, allocations: 4 kB / 0.5115 GB, free: 16.33 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.0009314/0.3795, allocations: 338 kB / 0.5119 GB, free: 16.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.3795, allocations: 54.31 kB / 0.5119 GB, free: 16.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3797, allocations: 190.2 kB / 0.5121 GB, free: 16.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.3797, allocations: 33.7 kB / 0.5121 GB, free: 15.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.3797, allocations: 198.7 kB / 0.5123 GB, free: 15.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.3798, allocations: 64.16 kB / 0.5124 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3799, allocations: 93.53 kB / 0.5125 GB, free: 15.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.3799, allocations: 326.8 kB / 0.5128 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3801, allocations: 66.11 kB / 0.5128 GB, free: 15.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.3803, allocations: 263.6 kB / 0.5131 GB, free: 15.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.3806, allocations: 366.1 kB / 0.5134 GB, free: 14.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3806, allocations: 3.938 kB / 0.5134 GB, free: 14.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005563/0.3812, allocations: 392.8 kB / 0.5138 GB, free: 14.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3812, allocations: 7.469 kB / 0.5138 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3812, allocations: 5.75 kB / 0.5138 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.3812, allocations: 10.25 kB / 0.5138 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.3816, allocations: 127.3 kB / 0.514 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002184/0.3818, allocations: 0.6024 MB / 0.5145 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.3821, allocations: 52.45 kB / 0.5146 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.3821, allocations: 44.31 kB / 0.5146 GB, free: 13.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.3822, allocations: 140.2 kB / 0.5148 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.3823, allocations: 31.88 kB / 0.5148 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007204/0.383, allocations: 452.3 kB / 0.5152 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.383, allocations: 4.797 kB / 0.5152 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.383, allocations: 0 / 0.5152 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.383, allocations: 0 / 0.5152 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.3837, allocations: 0.4944 MB / 0.5157 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3837, allocations: 7.062 kB / 0.5157 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.3839, allocations: 64.69 kB / 0.5158 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3839, allocations: 2.969 kB / 0.5158 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3839, allocations: 5.062 kB / 0.5158 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000177/0.3841, allocations: 0.5977 MB / 0.5164 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3841, allocations: 2.281 kB / 0.5164 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.3844, allocations: 307.9 kB / 0.5167 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.3845, allocations: 37.05 kB / 0.5167 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.3845, allocations: 5.906 kB / 0.5167 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.3848, allocations: 14.94 kB / 0.5167 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.3848, allocations: 20.31 kB / 0.5168 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.3849, allocations: 24.73 kB / 0.5168 GB, free: 12.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.42e-05/0.3849, allocations: 134.6 kB / 0.5169 GB, free: 12.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3849, allocations: 0 / 0.5169 GB, free: 12.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007319/0.3857, allocations: 164.1 kB / 0.5171 GB, free: 12.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004941/0.3862, allocations: 284 kB / 0.5173 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004723/0.3866, allocations: 223 kB / 0.5175 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3866, allocations: 2.656 kB / 0.5175 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.3868, allocations: 80.11 kB / 0.5176 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.3874, allocations: 90.64 kB / 0.5177 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.3888, allocations: 0.8488 MB / 0.5185 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.846e-05/0.3888, allocations: 113.9 kB / 0.5186 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005657/0.3894, allocations: 379.5 kB / 0.519 GB, free: 11.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3896, allocations: 62.62 kB / 0.5191 GB, free: 11.35 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.3896, allocations: 0 / 0.5191 GB, free: 11.35 MB / 410.7 MB Notification: Performance of Templates: time 0.009572/0.3991, allocations: 5.815 MB / 0.5247 GB, free: 10.33 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.557192657957785]