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.001783/0.001783, allocations: 67.77 kB / 21.24 MB, free: 404 kB / 14.72 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.002251/0.002251, allocations: 163.9 kB / 24.49 MB, free: 3.453 MB / 14.72 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.43/1.43, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.1 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.2126/0.2126, allocations: 34.26 MB / 295.5 MB, free: 14.59 MB / 286.1 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 0.002366/0.002366, allocations: 67.89 kB / 443.2 MB, free: 6.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3265, allocations: 66 MB / 0.4973 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1591/0.4856, allocations: 132 MB / 0.6262 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006105/0.4917, allocations: 4.746 MB / 0.6308 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.4919, allocations: 0 / 0.6308 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.4922, allocations: 51.62 kB / 0.6309 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.4966, allocations: 1.34 MB / 0.6322 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.4969, allocations: 150.8 kB / 0.6323 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005642/0.4975, allocations: 386.2 kB / 0.6327 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.384e-05/0.4976, allocations: 21.77 kB / 0.6327 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.4979, allocations: 179.3 kB / 0.6329 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.4982, allocations: 171.5 kB / 0.633 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.4982, allocations: 8 kB / 0.633 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.5002, allocations: 0.9628 MB / 0.634 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.07e-05/0.5003, allocations: 51.75 kB / 0.634 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.5005, allocations: 99.56 kB / 0.6341 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.5019, allocations: 0.8377 MB / 0.6349 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5019, allocations: 4 kB / 0.6349 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5019, allocations: 0 / 0.6349 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.5019, allocations: 0 / 0.6349 GB, free: 8.285 MB / 0.5294 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.001567/0.5035, allocations: 0.6293 MB / 0.6356 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5035, allocations: 8.031 kB / 0.6356 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008247/0.5118, allocations: 0.641 MB / 0.6362 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.5123, allocations: 201.6 kB / 0.6364 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.5125, allocations: 234 kB / 0.6366 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.361e-05/0.5126, allocations: 24 kB / 0.6366 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.514, allocations: 0.7423 MB / 0.6374 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.514, allocations: 0 / 0.6374 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.514, allocations: 8 kB / 0.6374 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.5141, allocations: 16 kB / 0.6374 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.5156, allocations: 0.6184 MB / 0.638 GB, free: 4.996 MB / 0.5294 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.002241/0.5178, allocations: 1.406 MB / 0.6394 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.5182, allocations: 150.7 kB / 0.6395 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.5183, allocations: 68.88 kB / 0.6396 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.5195, allocations: 486.9 kB / 0.64 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.5195, allocations: 38.48 kB / 0.6401 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.5195, allocations: 0 / 0.6401 GB, free: 2.742 MB / 0.5294 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.001026/0.5205, allocations: 329.5 kB / 0.6404 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.5206, allocations: 55.41 kB / 0.6404 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.5208, allocations: 199 kB / 0.6406 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.5208, allocations: 25.7 kB / 0.6406 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.5209, allocations: 191.8 kB / 0.6408 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.521, allocations: 71.38 kB / 0.6409 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.5211, allocations: 98 kB / 0.641 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5213, allocations: 330.8 kB / 0.6413 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.5214, allocations: 68.7 kB / 0.6414 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.5218, allocations: 264 kB / 0.6416 GB, free: 1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.5223, allocations: 369.7 kB / 0.642 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.5223, allocations: 4 kB / 0.642 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006762/0.523, allocations: 373.5 kB / 0.6423 GB, free: 176 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.523, allocations: 8 kB / 0.6423 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.523, allocations: 8 kB / 0.6424 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.523, allocations: 8 kB / 0.6424 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.5235, allocations: 123.8 kB / 0.6425 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004395/0.5239, allocations: 0.6093 MB / 0.6431 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.5241, allocations: 39.73 kB / 0.6431 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-05/0.5242, allocations: 43.98 kB / 0.6432 GB, free: 15.31 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.0001541/0.5244, allocations: 146.6 kB / 0.6433 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.5244, allocations: 19.91 kB / 0.6433 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008752/0.5253, allocations: 467.1 kB / 0.6438 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5253, allocations: 4 kB / 0.6438 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5253, allocations: 0 / 0.6438 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5253, allocations: 0 / 0.6438 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008471/0.5262, allocations: 0.4935 MB / 0.6442 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5262, allocations: 4.031 kB / 0.6442 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.5264, allocations: 67.89 kB / 0.6443 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.5264, allocations: 0 / 0.6443 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.5264, allocations: 12 kB / 0.6443 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003652/0.5268, allocations: 0.5977 MB / 0.6449 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.5268, allocations: 7.938 kB / 0.6449 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.5272, allocations: 294.3 kB / 0.6452 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.5273, allocations: 35.97 kB / 0.6452 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.5273, allocations: 8 kB / 0.6452 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.5276, allocations: 11.92 kB / 0.6452 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.5276, allocations: 15.98 kB / 0.6453 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.5276, allocations: 19.98 kB / 0.6453 GB, free: 12.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001279/0.5278, allocations: 140.6 kB / 0.6454 GB, free: 12.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5278, allocations: 0 / 0.6454 GB, free: 12.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006727/0.5284, allocations: 171.6 kB / 0.6456 GB, free: 12.68 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.0005941/0.529, allocations: 266.7 kB / 0.6458 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005548/0.5296, allocations: 224 kB / 0.646 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5296, allocations: 0 / 0.646 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.5298, allocations: 83.81 kB / 0.6461 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.5304, allocations: 69.19 kB / 0.6462 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.5321, allocations: 0.8773 MB / 0.6471 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.5322, allocations: 116.6 kB / 0.6472 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006614/0.5328, allocations: 378.2 kB / 0.6475 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.533, allocations: 60.44 kB / 0.6476 GB, free: 10.55 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.533, allocations: 4 kB / 0.6476 GB, free: 10.55 MB / 0.545 GB Notification: Performance of Templates: time 0.01146/0.5445, allocations: 5.774 MB / 0.6532 GB, free: 4.852 MB / 0.545 GB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/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.4526899309130386]