Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001506/0.001506, 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.001622/0.001622, allocations: 169.3 kB / 24.27 MB, free: 140 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.542/1.542, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3401/0.3401, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] 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 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.0.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.0.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.23e-05, allocations: 6.25 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3314/0.3314, allocations: 132 MB / 0.4954 GB, free: 26.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004728/0.3362, allocations: 4.745 MB / 0.5001 GB, free: 23.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.3363, allocations: 5.281 kB / 0.5001 GB, free: 23.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.3366, allocations: 51.22 kB / 0.5001 GB, free: 23.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.3401, allocations: 1.364 MB / 0.5015 GB, free: 22.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.3404, allocations: 139.7 kB / 0.5016 GB, free: 22.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.3409, allocations: 402.8 kB / 0.502 GB, free: 22.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.3409, allocations: 9 kB / 0.502 GB, free: 22.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.3412, allocations: 234.6 kB / 0.5022 GB, free: 22.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.3415, allocations: 159.9 kB / 0.5024 GB, free: 22.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.3415, allocations: 8.219 kB / 0.5024 GB, free: 22.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.3435, allocations: 0.9715 MB / 0.5033 GB, free: 21.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.249e-05/0.3436, allocations: 53.06 kB / 0.5034 GB, free: 21.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.3437, allocations: 78.08 kB / 0.5034 GB, free: 21.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.3452, allocations: 0.9575 MB / 0.5044 GB, free: 21.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3452, allocations: 1.062 kB / 0.5044 GB, free: 21.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3452, allocations: 0 / 0.5044 GB, free: 21.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.3452, allocations: 0 / 0.5044 GB, free: 21.37 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.001245/0.3465, allocations: 0.6217 MB / 0.505 GB, free: 20.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3465, allocations: 13.39 kB / 0.505 GB, free: 20.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008723/0.3552, allocations: 0.7155 MB / 0.5057 GB, free: 20.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009199/0.3561, allocations: 205.7 kB / 0.5059 GB, free: 20.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.3563, allocations: 222.4 kB / 0.5061 GB, free: 20.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.3565, allocations: 34.75 kB / 0.5061 GB, free: 20.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.3583, allocations: 0.7378 MB / 0.5069 GB, free: 19.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3584, allocations: 3.938 kB / 0.5069 GB, free: 19.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.3585, allocations: 15.81 kB / 0.5069 GB, free: 19.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.3585, allocations: 6.812 kB / 0.5069 GB, free: 19.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.3604, allocations: 0.5938 MB / 0.5075 GB, free: 19.76 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.00252/0.3629, allocations: 1.401 MB / 0.5088 GB, free: 18.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.3634, allocations: 153.3 kB / 0.509 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.3636, allocations: 69.3 kB / 0.509 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/0.3652, allocations: 496.7 kB / 0.5095 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3652, allocations: 37.19 kB / 0.5096 GB, free: 18.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.565e-06/0.3652, allocations: 3.984 kB / 0.5096 GB, free: 18.22 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.001511/0.3667, allocations: 338.1 kB / 0.5099 GB, free: 18.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.3668, allocations: 58.12 kB / 0.5099 GB, free: 18.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.367, allocations: 190.9 kB / 0.5101 GB, free: 17.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.367, allocations: 29.7 kB / 0.5101 GB, free: 17.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3671, allocations: 196.3 kB / 0.5103 GB, free: 17.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.3672, allocations: 70.05 kB / 0.5104 GB, free: 17.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.3674, allocations: 89.66 kB / 0.5105 GB, free: 17.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.898e-05/0.3674, allocations: 331.5 kB / 0.5108 GB, free: 17.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.3676, allocations: 62.75 kB / 0.5109 GB, free: 17.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.3679, allocations: 263.7 kB / 0.5111 GB, free: 16.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.3684, allocations: 364.7 kB / 0.5115 GB, free: 16.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3684, allocations: 2.531 kB / 0.5115 GB, free: 16.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008714/0.3693, allocations: 394.9 kB / 0.5118 GB, free: 16.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3693, allocations: 7.938 kB / 0.5118 GB, free: 16.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.3694, allocations: 8.219 kB / 0.5119 GB, free: 16.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.358e-05/0.3694, allocations: 11.22 kB / 0.5119 GB, free: 16.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.37, allocations: 126.5 kB / 0.512 GB, free: 16.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000362/0.3704, allocations: 0.5994 MB / 0.5126 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.3708, allocations: 51.2 kB / 0.5126 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/0.3709, allocations: 40.23 kB / 0.5127 GB, free: 15.84 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.000182/0.371, allocations: 145.7 kB / 0.5128 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3712, allocations: 25.3 kB / 0.5128 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.3723, allocations: 461.3 kB / 0.5133 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3723, allocations: 0 / 0.5133 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3723, allocations: 3.125 kB / 0.5133 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3723, allocations: 4.438 kB / 0.5133 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.3733, allocations: 0.4917 MB / 0.5137 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3733, allocations: 0 / 0.5137 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.3736, allocations: 66.62 kB / 0.5138 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.3736, allocations: 2.781 kB / 0.5138 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.3737, allocations: 9.312 kB / 0.5138 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002628/0.3739, allocations: 0.5861 MB / 0.5144 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.3739, allocations: 9.047 kB / 0.5144 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.3744, allocations: 313.7 kB / 0.5147 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3745, allocations: 31.17 kB / 0.5147 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.3746, allocations: 11.48 kB / 0.5147 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.375, allocations: 7.344 kB / 0.5148 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.375, allocations: 25.94 kB / 0.5148 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.3751, allocations: 20.33 kB / 0.5148 GB, free: 14.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.3752, allocations: 138 kB / 0.5149 GB, free: 14.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3752, allocations: 0 / 0.5149 GB, free: 14.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001247/0.3765, allocations: 164.8 kB / 0.5151 GB, free: 14.15 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.0007934/0.3772, allocations: 286.7 kB / 0.5154 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007616/0.378, allocations: 213.1 kB / 0.5156 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.378, allocations: 4.5 kB / 0.5156 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.3783, allocations: 81.94 kB / 0.5156 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009765/0.3793, allocations: 87.12 kB / 0.5157 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.3817, allocations: 0.8487 MB / 0.5166 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.3818, allocations: 113.9 kB / 0.5167 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001098/0.3829, allocations: 386.5 kB / 0.517 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.3832, allocations: 60.45 kB / 0.5171 GB, free: 13.23 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3832, allocations: 2.625 kB / 0.5171 GB, free: 13.23 MB / 410.7 MB Notification: Performance of Templates: time 0.017/0.4002, allocations: 5.821 MB / 0.5228 GB, free: 12.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.566270996001549]