Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001677/0.001677, allocations: 89.14 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 157.4 kB / 23.95 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 34.26 MB / 294.8 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 442.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.124e-05, allocations: 4.672 kB / 442.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4158/0.4159, allocations: 132 MB / 0.5613 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007021/0.4229, allocations: 4.753 MB / 0.5659 GB, free: 12.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.4231, allocations: 4 kB / 0.5659 GB, free: 12.92 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.4235, allocations: 55.61 kB / 0.566 GB, free: 12.87 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004961/0.4284, allocations: 1.356 MB / 0.5673 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.4289, allocations: 152.8 kB / 0.5674 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008346/0.4297, allocations: 409.8 kB / 0.5678 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.235e-05/0.4298, allocations: 5.812 kB / 0.5678 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006555/0.4305, allocations: 227.3 kB / 0.568 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.4309, allocations: 159.6 kB / 0.5682 GB, free: 10.58 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.431, allocations: 8 kB / 0.5682 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.4335, allocations: 0.9783 MB / 0.5692 GB, free: 9.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.4336, allocations: 44.86 kB / 0.5692 GB, free: 9.547 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.4338, allocations: 87.75 kB / 0.5693 GB, free: 9.461 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.4363, allocations: 0.9508 MB / 0.5702 GB, free: 8.508 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4363, allocations: 0 / 0.5702 GB, free: 8.508 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4363, allocations: 0 / 0.5702 GB, free: 8.508 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.4363, allocations: 0 / 0.5702 GB, free: 8.508 MB / 478.1 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.001448/0.4378, allocations: 0.6221 MB / 0.5708 GB, free: 7.852 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4378, allocations: 12.03 kB / 0.5708 GB, free: 7.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008356/0.4462, allocations: 0.6405 MB / 0.5715 GB, free: 7.199 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006468/0.4468, allocations: 205.4 kB / 0.5716 GB, free: 6.973 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.4471, allocations: 222.7 kB / 0.5719 GB, free: 6.707 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.4472, allocations: 26.09 kB / 0.5719 GB, free: 6.684 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.4486, allocations: 0.7384 MB / 0.5726 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4487, allocations: 3.938 kB / 0.5726 GB, free: 5.863 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.084e-05/0.4488, allocations: 12 kB / 0.5726 GB, free: 5.852 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.4488, allocations: 11.98 kB / 0.5726 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.4504, allocations: 0.6184 MB / 0.5732 GB, free: 5.223 MB / 478.1 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.00244/0.4529, allocations: 1.395 MB / 0.5746 GB, free: 3.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.4533, allocations: 154.5 kB / 0.5747 GB, free: 3.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.4534, allocations: 72.81 kB / 0.5748 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/0.4547, allocations: 487.1 kB / 0.5753 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.4547, allocations: 40.38 kB / 0.5753 GB, free: 2.973 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 2.785e-06/0.4547, allocations: 0 / 0.5753 GB, free: 2.973 MB / 478.1 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.001188/0.4559, allocations: 324.4 kB / 0.5756 GB, free: 2.652 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.4559, allocations: 55.41 kB / 0.5757 GB, free: 2.586 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.4561, allocations: 194.5 kB / 0.5759 GB, free: 2.387 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.4562, allocations: 33.7 kB / 0.5759 GB, free: 2.348 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.4563, allocations: 191.8 kB / 0.5761 GB, free: 2.156 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.4564, allocations: 67.44 kB / 0.5761 GB, free: 2.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.4565, allocations: 94 kB / 0.5762 GB, free: 1.992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4567, allocations: 330.8 kB / 0.5765 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.4569, allocations: 64.7 kB / 0.5766 GB, free: 1.598 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.4572, allocations: 267.9 kB / 0.5769 GB, free: 1.242 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/0.4578, allocations: 367 kB / 0.5772 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4578, allocations: 0 / 0.5772 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007809/0.4586, allocations: 374.3 kB / 0.5776 GB, free: 428 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.4586, allocations: 11.98 kB / 0.5776 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4586, allocations: 8 kB / 0.5776 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.4587, allocations: 8 kB / 0.5776 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.4591, allocations: 123.8 kB / 0.5777 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000616/0.4597, allocations: 0.6016 MB / 0.5783 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.46, allocations: 47.61 kB / 0.5784 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/0.4601, allocations: 40 kB / 0.5784 GB, free: 15.56 MB / 494.1 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.0001817/0.4602, allocations: 149.9 kB / 0.5785 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.4603, allocations: 23.86 kB / 0.5786 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009352/0.4612, allocations: 453.3 kB / 0.579 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4612, allocations: 0 / 0.579 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4613, allocations: 4 kB / 0.579 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.4613, allocations: 7.938 kB / 0.579 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009408/0.4622, allocations: 0.4971 MB / 0.5795 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4622, allocations: 4 kB / 0.5795 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.4625, allocations: 55.91 kB / 0.5795 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.4625, allocations: 4 kB / 0.5795 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.4625, allocations: 13.11 kB / 0.5796 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004028/0.4629, allocations: 0.5976 MB / 0.5801 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.4629, allocations: 4.031 kB / 0.5801 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.4633, allocations: 308.9 kB / 0.5804 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.733e-05/0.4634, allocations: 23.89 kB / 0.5805 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.4635, allocations: 11.98 kB / 0.5805 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.4637, allocations: 8.875 kB / 0.5805 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.4638, allocations: 31.83 kB / 0.5805 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.4638, allocations: 24.08 kB / 0.5805 GB, free: 13.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.464, allocations: 133.8 kB / 0.5807 GB, free: 13.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.464, allocations: 0 / 0.5807 GB, free: 13.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007246/0.4647, allocations: 171.6 kB / 0.5808 GB, free: 12.93 MB / 494.1 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.0006233/0.4653, allocations: 274.8 kB / 0.5811 GB, free: 12.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005578/0.4659, allocations: 220.9 kB / 0.5813 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4659, allocations: 0.5625 kB / 0.5813 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.4661, allocations: 87.81 kB / 0.5814 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.4667, allocations: 63.62 kB / 0.5814 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.4685, allocations: 0.8557 MB / 0.5823 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.4686, allocations: 112.6 kB / 0.5824 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006635/0.4693, allocations: 378.2 kB / 0.5827 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.4695, allocations: 64.44 kB / 0.5828 GB, free: 10.81 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4695, allocations: 0 / 0.5828 GB, free: 10.81 MB / 494.1 MB Notification: Performance of Templates: time 0.01191/0.4814, allocations: 5.771 MB / 0.5884 GB, free: 5.117 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.611445110291243]