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.001036/0.001036, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001106/0.001106, allocations: 170.3 kB / 24.91 MB, free: 8.723 MB / 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.9771/0.9771, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2425/0.2425, allocations: 34.25 MB / 296.1 MB, free: 0.6289 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.713e-06/1.713e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.689e-05, allocations: 3.781 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3181/0.3181, allocations: 145.5 MB / 470.8 MB, free: 16.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004256/0.3223, allocations: 5.439 MB / 476.2 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.314e-05/0.3224, allocations: 6.5 kB / 476.2 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.3227, allocations: 50.17 kB / 476.3 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.3254, allocations: 1.388 MB / 477.7 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.3256, allocations: 145.7 kB / 477.8 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.3261, allocations: 430.3 kB / 478.2 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.3261, allocations: 15.31 kB / 478.3 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.3264, allocations: 238.5 kB / 478.5 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.3266, allocations: 152.7 kB / 478.6 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.3266, allocations: 5.594 kB / 478.6 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.328, allocations: 1.043 MB / 479.7 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.3281, allocations: 54.31 kB / 479.7 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.779e-05/0.3281, allocations: 83.14 kB / 479.8 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009584/0.3291, allocations: 0.935 MB / 480.8 MB, free: 16.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3291, allocations: 0 / 480.8 MB, free: 16.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3291, allocations: 0 / 480.8 MB, free: 16.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3291, allocations: 3.5 kB / 480.8 MB, free: 16.09 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.0008563/0.33, allocations: 0.5896 MB / 481.4 MB, free: 15.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.33, allocations: 13.61 kB / 481.4 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00416/0.3342, allocations: 0.7697 MB / 482.1 MB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.3344, allocations: 163.5 kB / 482.3 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.3344, allocations: 232.1 kB / 482.5 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.3345, allocations: 31.61 kB / 482.6 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.335, allocations: 0.6586 MB / 483.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.335, allocations: 2.906 kB / 483.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.3351, allocations: 11.84 kB / 483.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.3351, allocations: 6.562 kB / 483.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.3355, allocations: 375.8 kB / 483.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009411/0.3364, allocations: 1.304 MB / 484.9 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3366, allocations: 102.2 kB / 485 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.3366, allocations: 52.3 kB / 485.1 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005101/0.3371, allocations: 474.4 kB / 485.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.3371, allocations: 36.34 kB / 485.6 MB, free: 13.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.3371, allocations: 0 / 485.6 MB, free: 13.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004135/0.3376, allocations: 241.8 kB / 485.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.33e-05/0.3376, allocations: 53.98 kB / 485.8 MB, free: 13.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.3377, allocations: 189.3 kB / 486 MB, free: 13.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3377, allocations: 31.58 kB / 486.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.3377, allocations: 183.9 kB / 486.2 MB, free: 13.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.3378, allocations: 71.8 kB / 486.3 MB, free: 13.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.3378, allocations: 89.69 kB / 486.4 MB, free: 13.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.585e-05/0.3379, allocations: 331.4 kB / 486.7 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.3379, allocations: 43.33 kB / 486.8 MB, free: 12.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-05/0.338, allocations: 234.9 kB / 487 MB, free: 12.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.3382, allocations: 330.5 kB / 487.3 MB, free: 12.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3382, allocations: 2.625 kB / 487.3 MB, free: 12.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000257/0.3385, allocations: 265 kB / 487.6 MB, free: 12.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3385, allocations: 12.56 kB / 487.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3385, allocations: 8.031 kB / 487.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3385, allocations: 11.19 kB / 487.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.3388, allocations: 123 kB / 487.7 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001619/0.3389, allocations: 0.5891 MB / 488.3 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.339, allocations: 45.31 kB / 488.4 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.3391, allocations: 40.09 kB / 488.4 MB, free: 11.73 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 6.791e-05/0.3391, allocations: 142.3 kB / 488.5 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.3392, allocations: 25.67 kB / 488.6 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.3396, allocations: 404 kB / 489 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3396, allocations: 6.703 kB / 489 MB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.3396, allocations: 0 / 489 MB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3396, allocations: 2.672 kB / 489 MB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.3399, allocations: 419.3 kB / 489.4 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3399, allocations: 2.281 kB / 489.4 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.34, allocations: 51.61 kB / 489.4 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.34, allocations: 10.22 kB / 489.4 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3401, allocations: 11.78 kB / 489.4 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001048/0.3402, allocations: 0.5833 MB / 490 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3402, allocations: 6.938 kB / 490 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.3403, allocations: 248.7 kB / 490.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.3403, allocations: 31.7 kB / 490.3 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.3403, allocations: 6.031 kB / 490.3 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3404, allocations: 13.28 kB / 490.3 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.3405, allocations: 20.12 kB / 490.4 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.3405, allocations: 16.62 kB / 490.4 MB, free: 10.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.142e-05/0.3405, allocations: 52.31 kB / 490.4 MB, free: 10.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3405, allocations: 0 / 490.4 MB, free: 10.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000351/0.3409, allocations: 168.9 kB / 490.6 MB, free: 10.41 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.0003283/0.3412, allocations: 269 kB / 490.8 MB, free: 10.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.3414, allocations: 173.9 kB / 491 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.3414, allocations: 2.781 kB / 491 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.071e-05/0.3415, allocations: 76.42 kB / 491.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.3418, allocations: 83.5 kB / 491.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3428, allocations: 0.8623 MB / 492 MB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.199e-05/0.3429, allocations: 72.88 kB / 492.1 MB, free: 9.891 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003679/0.3432, allocations: 381.9 kB / 492.5 MB, free: 9.836 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.3434, allocations: 156.7 kB / 492.6 MB, free: 9.781 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3434, allocations: 0 / 492.6 MB, free: 9.781 MB / 410.7 MB Notification: Performance of Templates: time 0.007084/0.3505, allocations: 6.793 MB / 499.4 MB, free: 7.414 MB / 410.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 -s gbode -gbm=radauIIA3 -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.5125868120230734]