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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 196.4 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 251.6 MB, free: 13.3 MB / 206.1 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.3144/0.3144, allocations: 44.92 MB / 351.6 MB, free: 12.2 MB / 286.1 MB " [Timeout remaining time 179] 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.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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001982/0.001982, allocations: 63.91 kB / 495.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4222, allocations: 64.26 MB / 0.5464 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2135/0.6357, allocations: 150.6 MB / 0.6935 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007441/0.6431, allocations: 5.341 MB / 0.6987 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.6433, allocations: 0 / 0.6987 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.6437, allocations: 51.61 kB / 0.6988 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00462/0.6483, allocations: 1.324 MB / 0.7001 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.6487, allocations: 143 kB / 0.7002 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006538/0.6493, allocations: 402 kB / 0.7006 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.091e-05/0.6494, allocations: 13.62 kB / 0.7006 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.6497, allocations: 171.4 kB / 0.7008 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.65, allocations: 171.4 kB / 0.7009 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.65, allocations: 12 kB / 0.701 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.6528, allocations: 1.103 MB / 0.702 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.6529, allocations: 47.75 kB / 0.7021 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.653, allocations: 103.5 kB / 0.7022 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.6547, allocations: 0.861 MB / 0.703 GB, free: 14.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6547, allocations: 0 / 0.703 GB, free: 14.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6547, allocations: 0 / 0.703 GB, free: 14.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.6547, allocations: 0 / 0.703 GB, free: 14.89 MB / 0.545 GB 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.001481/0.6561, allocations: 0.6931 MB / 0.7037 GB, free: 14.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.6562, allocations: 8.031 kB / 0.7037 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007068/0.6633, allocations: 0.5898 MB / 0.7043 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005945/0.6639, allocations: 271.4 kB / 0.7045 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.664, allocations: 131.3 kB / 0.7047 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-05/0.6641, allocations: 28 kB / 0.7047 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.6655, allocations: 0.5633 MB / 0.7052 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.6655, allocations: 0 / 0.7052 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.311e-05/0.6656, allocations: 8 kB / 0.7052 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.6656, allocations: 8 kB / 0.7052 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.6671, allocations: 0.6299 MB / 0.7059 GB, free: 11.81 MB / 0.545 GB 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.00266/0.6698, allocations: 1.713 MB / 0.7075 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.6702, allocations: 146.6 kB / 0.7077 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.6703, allocations: 72.78 kB / 0.7077 GB, free: 9.723 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/0.6721, allocations: 1.467 MB / 0.7092 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.6721, allocations: 30.56 kB / 0.7092 GB, free: 7.953 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 2.094e-06/0.6721, allocations: 4 kB / 0.7092 GB, free: 7.949 MB / 0.545 GB 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.001038/0.6731, allocations: 332 kB / 0.7095 GB, free: 7.621 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.6733, allocations: 55.39 kB / 0.7096 GB, free: 7.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.6735, allocations: 182.6 kB / 0.7098 GB, free: 7.367 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.6736, allocations: 29.7 kB / 0.7098 GB, free: 7.332 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.6737, allocations: 187.8 kB / 0.71 GB, free: 7.141 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.6739, allocations: 67.42 kB / 0.71 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.674, allocations: 97.97 kB / 0.7101 GB, free: 6.973 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.6742, allocations: 334.8 kB / 0.7104 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.6743, allocations: 64.7 kB / 0.7105 GB, free: 6.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.6747, allocations: 267.9 kB / 0.7108 GB, free: 6.219 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006124/0.6753, allocations: 378.1 kB / 0.7111 GB, free: 5.754 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.6753, allocations: 0 / 0.7111 GB, free: 5.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006436/0.6759, allocations: 365.6 kB / 0.7115 GB, free: 5.391 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.6759, allocations: 8 kB / 0.7115 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.676, allocations: 11.98 kB / 0.7115 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.676, allocations: 8 kB / 0.7115 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.6764, allocations: 123.8 kB / 0.7116 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000459/0.6769, allocations: 0.6015 MB / 0.7122 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.6771, allocations: 51.92 kB / 0.7122 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.6773, allocations: 36 kB / 0.7123 GB, free: 4.531 MB / 0.545 GB 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.0001602/0.6774, allocations: 153.1 kB / 0.7124 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-05/0.6775, allocations: 19.84 kB / 0.7124 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009022/0.6784, allocations: 471.5 kB / 0.7129 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6784, allocations: 0 / 0.7129 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.6784, allocations: 4 kB / 0.7129 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.6784, allocations: 3.938 kB / 0.7129 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009862/0.6794, allocations: 0.6352 MB / 0.7135 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.6794, allocations: 4 kB / 0.7135 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.6796, allocations: 60.16 kB / 0.7136 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.966e-06/0.6796, allocations: 7.984 kB / 0.7136 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.6796, allocations: 11.98 kB / 0.7136 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004325/0.6801, allocations: 0.5899 MB / 0.7142 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6801, allocations: 7.938 kB / 0.7142 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.6805, allocations: 298.3 kB / 0.7145 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.6806, allocations: 116.9 kB / 0.7146 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.6807, allocations: 7.938 kB / 0.7146 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.6809, allocations: 11.98 kB / 0.7146 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.681, allocations: 15.92 kB / 0.7146 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.681, allocations: 20 kB / 0.7146 GB, free: 1.914 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001438/0.6812, allocations: 135.6 kB / 0.7148 GB, free: 1.781 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6812, allocations: 0 / 0.7148 GB, free: 1.781 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007819/0.682, allocations: 167.7 kB / 0.7149 GB, free: 1.617 MB / 0.545 GB 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.0007037/0.6827, allocations: 270.2 kB / 0.7152 GB, free: 1.352 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005448/0.6832, allocations: 217.1 kB / 0.7154 GB, free: 1.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.6832, allocations: 4.375 kB / 0.7154 GB, free: 1.137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.6834, allocations: 83.84 kB / 0.7155 GB, free: 1.055 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.684, allocations: 75.5 kB / 0.7155 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.6857, allocations: 0.8379 MB / 0.7164 GB, free: 96 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.6862, allocations: 0.7284 MB / 0.7171 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007481/0.6869, allocations: 387.1 kB / 0.7174 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.6871, allocations: 63.38 kB / 0.7175 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/0.6871, allocations: 0 / 0.7175 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.01263/0.6997, allocations: 5.779 MB / 0.7232 GB, free: 9.156 MB / 0.5606 GB " [Timeout remaining time 659] 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: 6.3637833604589105]