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.001098/0.001098, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009067/0.0009067, allocations: 165 kB / 24.56 MB, free: 12 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 0.9251/0.9251, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2922/0.2922, allocations: 34.27 MB / 295.7 MB, free: 0.6875 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.[0-9,]+.|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.[0-9,]+.|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.914e-06/1.914e-06, allocations: 0 / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.139e-05, allocations: 6.312 kB / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3199/0.3199, allocations: 146 MB / 0.5118 GB, free: 17.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004455/0.3244, allocations: 5.424 MB / 0.5171 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.3246, allocations: 3.281 kB / 0.5171 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.325, allocations: 66.39 kB / 0.5172 GB, free: 13.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.3286, allocations: 1.385 MB / 0.5186 GB, free: 12.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.3289, allocations: 152.9 kB / 0.5187 GB, free: 12.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006016/0.3295, allocations: 422.8 kB / 0.5191 GB, free: 12.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.706e-05/0.3296, allocations: 12.12 kB / 0.5191 GB, free: 12.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.3299, allocations: 238.4 kB / 0.5193 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.3302, allocations: 160.8 kB / 0.5195 GB, free: 12.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/0.3303, allocations: 9.031 kB / 0.5195 GB, free: 12.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.3325, allocations: 0.9857 MB / 0.5205 GB, free: 11.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.272e-05/0.3326, allocations: 51.17 kB / 0.5205 GB, free: 11.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.3327, allocations: 85.84 kB / 0.5206 GB, free: 11.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.3342, allocations: 0.9354 MB / 0.5215 GB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3342, allocations: 0 / 0.5215 GB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3342, allocations: 0 / 0.5215 GB, free: 11.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.3342, allocations: 0 / 0.5215 GB, free: 11.55 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.001201/0.3354, allocations: 0.725 MB / 0.5222 GB, free: 11.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3355, allocations: 9.312 kB / 0.5222 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/0.3392, allocations: 0.6625 MB / 0.5229 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.3395, allocations: 203.8 kB / 0.5231 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.984e-05/0.3396, allocations: 227.9 kB / 0.5233 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.763e-05/0.3397, allocations: 25.28 kB / 0.5233 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.3403, allocations: 0.7439 MB / 0.524 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3404, allocations: 3.938 kB / 0.524 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.3404, allocations: 13.69 kB / 0.5241 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.3404, allocations: 9.688 kB / 0.5241 GB, free: 10 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005657/0.341, allocations: 0.5119 MB / 0.5246 GB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.3423, allocations: 1.809 MB / 0.5263 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.3425, allocations: 144.3 kB / 0.5265 GB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.148e-05/0.3426, allocations: 67.91 kB / 0.5265 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000587/0.3432, allocations: 0.5137 MB / 0.527 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.3432, allocations: 38.88 kB / 0.5271 GB, free: 7.938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.916e-06/0.3432, allocations: 0 / 0.5271 GB, free: 7.938 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.0006328/0.3438, allocations: 314.4 kB / 0.5274 GB, free: 7.844 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.3439, allocations: 53.81 kB / 0.5274 GB, free: 7.781 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.344, allocations: 256 kB / 0.5277 GB, free: 7.574 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.344, allocations: 33.64 kB / 0.5277 GB, free: 7.535 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.3441, allocations: 231.9 kB / 0.5279 GB, free: 7.324 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.3441, allocations: 74.59 kB / 0.528 GB, free: 7.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.204e-05/0.3442, allocations: 96.94 kB / 0.5281 GB, free: 7.215 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.243e-05/0.3442, allocations: 0.4984 MB / 0.5286 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.529e-05/0.3443, allocations: 56.31 kB / 0.5286 GB, free: 6.703 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3444, allocations: 336.7 kB / 0.5289 GB, free: 6.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.3447, allocations: 430.3 kB / 0.5294 GB, free: 5.879 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3447, allocations: 3.031 kB / 0.5294 GB, free: 5.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003568/0.3451, allocations: 359.2 kB / 0.5297 GB, free: 5.742 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3451, allocations: 12.41 kB / 0.5297 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3451, allocations: 5.344 kB / 0.5297 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.3451, allocations: 11.69 kB / 0.5297 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.3454, allocations: 126.7 kB / 0.5299 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000221/0.3456, allocations: 0.9115 MB / 0.5307 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.3457, allocations: 50.48 kB / 0.5308 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.3458, allocations: 40.28 kB / 0.5308 GB, free: 4.781 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 8.935e-05/0.3459, allocations: 188 kB / 0.531 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.3459, allocations: 29.55 kB / 0.531 GB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.3464, allocations: 454.7 kB / 0.5315 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-06/0.3464, allocations: 0 / 0.5315 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3464, allocations: 2.344 kB / 0.5315 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3464, allocations: 7.109 kB / 0.5315 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.3468, allocations: 0.5493 MB / 0.532 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3468, allocations: 6.938 kB / 0.532 GB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3469, allocations: 64.39 kB / 0.5321 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.3469, allocations: 2.656 kB / 0.5321 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3469, allocations: 8.938 kB / 0.5321 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001433/0.3471, allocations: 0.9125 MB / 0.533 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3471, allocations: 0 / 0.533 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.3473, allocations: 367.4 kB / 0.5333 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.3473, allocations: 27.84 kB / 0.5334 GB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.3473, allocations: 5.25 kB / 0.5334 GB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3475, allocations: 13.38 kB / 0.5334 GB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.3475, allocations: 17.25 kB / 0.5334 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.3475, allocations: 23 kB / 0.5334 GB, free: 2.688 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.19e-05/0.3476, allocations: 176.5 kB / 0.5336 GB, free: 2.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3476, allocations: 4.031 kB / 0.5336 GB, free: 2.555 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004885/0.3481, allocations: 169.5 kB / 0.5338 GB, free: 2.52 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.0003998/0.3485, allocations: 279.4 kB / 0.534 GB, free: 2.379 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.3488, allocations: 218.9 kB / 0.5342 GB, free: 2.316 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3488, allocations: 3.938 kB / 0.5342 GB, free: 2.312 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.3489, allocations: 88.72 kB / 0.5343 GB, free: 2.281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3492, allocations: 82.81 kB / 0.5344 GB, free: 2.262 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3505, allocations: 0.8812 MB / 0.5353 GB, free: 1.715 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.178e-05/0.3506, allocations: 73.86 kB / 0.5353 GB, free: 1.645 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000397/0.351, allocations: 381.3 kB / 0.5357 GB, free: 1.582 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.3511, allocations: 62.58 kB / 0.5358 GB, free: 1.566 MB / 410.7 MB Notification: Performance of SimCode: time 1.213e-06/0.3511, allocations: 0 / 0.5358 GB, free: 1.566 MB / 410.7 MB Notification: Performance of Templates: time 0.008606/0.3597, allocations: 6.772 MB / 0.5424 GB, free: 15.12 MB / 426.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] 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","",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: 3.6871685860678554]