Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001368/0.001368, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001346/0.001346, allocations: 165.4 kB / 24.84 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9886/0.9886, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1421/0.1421, allocations: 32.38 MB / 271.5 MB, free: 14.4 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 3.938 kB / 348.9 MB, free: 9.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.641e-05, allocations: 2.312 kB / 348.9 MB, free: 9.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3382/0.3383, allocations: 141.6 MB / 490.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003769/0.342, allocations: 4.766 MB / 495.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.3422, allocations: 0 / 495.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.3424, allocations: 60.98 kB / 495.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003732/0.3462, allocations: 1.623 MB / 497 MB, free: 8.484 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.3464, allocations: 152.6 kB / 497.2 MB, free: 8.449 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000504/0.3469, allocations: 430.2 kB / 497.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.347, allocations: 7.281 kB / 497.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.3473, allocations: 233.6 kB / 497.8 MB, free: 8.211 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.3476, allocations: 157.7 kB / 498 MB, free: 8.172 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.3476, allocations: 8.5 kB / 498 MB, free: 8.172 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.3499, allocations: 1.179 MB / 499.2 MB, free: 7.852 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.35, allocations: 54.02 kB / 499.2 MB, free: 7.832 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.138e-05/0.3501, allocations: 80.25 kB / 499.3 MB, free: 7.816 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.3518, allocations: 1.076 MB / 0.4886 GB, free: 7.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3518, allocations: 0 / 0.4886 GB, free: 7.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3518, allocations: 0 / 0.4886 GB, free: 7.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.3518, allocations: 0 / 0.4886 GB, free: 7.469 MB / 362.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.001127/0.3529, allocations: 0.7575 MB / 0.4894 GB, free: 6.891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.353, allocations: 8.188 kB / 0.4894 GB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003609/0.3566, allocations: 0.6428 MB / 0.49 GB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.357, allocations: 217 kB / 0.4902 GB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.613e-05/0.3571, allocations: 228.4 kB / 0.4904 GB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.3572, allocations: 26.34 kB / 0.4905 GB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.3578, allocations: 0.6955 MB / 0.4912 GB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3578, allocations: 0 / 0.4912 GB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.3579, allocations: 12.03 kB / 0.4912 GB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.3579, allocations: 9.25 kB / 0.4912 GB, free: 5.645 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.3584, allocations: 447.9 kB / 0.4916 GB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.3595, allocations: 1.8 MB / 0.4934 GB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.3597, allocations: 135.2 kB / 0.4935 GB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.3597, allocations: 56.39 kB / 0.4935 GB, free: 3.887 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000798/0.3605, allocations: 0.728 MB / 0.4943 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.3606, allocations: 43.64 kB / 0.4943 GB, free: 3.434 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.3606, allocations: 0 / 0.4943 GB, free: 3.434 MB / 362.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=20): time 0.0005477/0.3611, allocations: 293.6 kB / 0.4946 GB, free: 3.316 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.3611, allocations: 55.36 kB / 0.4946 GB, free: 3.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.343e-05/0.3612, allocations: 250 kB / 0.4949 GB, free: 3.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3612, allocations: 31.98 kB / 0.4949 GB, free: 3.012 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.3613, allocations: 232.8 kB / 0.4951 GB, free: 2.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.3613, allocations: 73.23 kB / 0.4952 GB, free: 2.742 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.3614, allocations: 98.39 kB / 0.4953 GB, free: 2.684 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.3615, allocations: 0.496 MB / 0.4958 GB, free: 2.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.3615, allocations: 43.95 kB / 0.4958 GB, free: 2.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.3616, allocations: 340.8 kB / 0.4961 GB, free: 1.773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.3619, allocations: 411.7 kB / 0.4965 GB, free: 1.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3619, allocations: 2.969 kB / 0.4965 GB, free: 1.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003218/0.3622, allocations: 338.9 kB / 0.4969 GB, free: 1.176 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3622, allocations: 8.344 kB / 0.4969 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3622, allocations: 8.188 kB / 0.4969 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3622, allocations: 11.22 kB / 0.4969 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.3625, allocations: 125.6 kB / 0.497 GB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002113/0.3627, allocations: 0.9146 MB / 0.4979 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.3628, allocations: 45.52 kB / 0.4979 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.3629, allocations: 34.19 kB / 0.498 GB, free: 200 kB / 362.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.808e-05/0.3629, allocations: 195.6 kB / 0.4982 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.363, allocations: 26.28 kB / 0.4982 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.3634, allocations: 310.3 kB / 0.4985 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3634, allocations: 3.188 kB / 0.4985 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3634, allocations: 0 / 0.4985 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3634, allocations: 0 / 0.4985 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.3638, allocations: 494.4 kB / 0.4989 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3638, allocations: 3.031 kB / 0.499 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.3639, allocations: 59.83 kB / 0.499 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3639, allocations: 3.5 kB / 0.499 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3639, allocations: 9.25 kB / 0.499 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003301/0.3643, allocations: 0.9082 MB / 0.4999 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3643, allocations: 6.938 kB / 0.4999 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.3645, allocations: 321.5 kB / 0.5002 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.3646, allocations: 34.19 kB / 0.5003 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.3646, allocations: 10.86 kB / 0.5003 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3647, allocations: 5.125 kB / 0.5003 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.3647, allocations: 24.41 kB / 0.5003 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3647, allocations: 15.27 kB / 0.5003 GB, free: 14.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.806e-05/0.3648, allocations: 167.5 kB / 0.5005 GB, free: 13.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3648, allocations: 0 / 0.5005 GB, free: 13.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005738/0.3654, allocations: 216.5 kB / 0.5007 GB, free: 13.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.0007147/0.3661, allocations: 385.2 kB / 0.501 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.3664, allocations: 214.7 kB / 0.5012 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3664, allocations: 0 / 0.5012 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.3665, allocations: 87.45 kB / 0.5013 GB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3669, allocations: 89.61 kB / 0.5014 GB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.3691, allocations: 1.983 MB / 0.5034 GB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.012e-05/0.3692, allocations: 76.27 kB / 0.5034 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.3694, allocations: 94.36 kB / 0.5035 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.3696, allocations: 170.1 kB / 0.5037 GB, free: 10.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.3696, allocations: 0 / 0.5037 GB, free: 10.95 MB / 378.7 MB Notification: Performance of Templates: time 0.009865/0.3795, allocations: 8.012 MB / 0.5115 GB, free: 3.008 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.924175006337464]