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.001896/0.001896, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.001922/0.001922, allocations: 211.4 kB / 23.73 MB, free: 4.523 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.2687/0.2687, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.002027/0.002027, allocations: 67.89 kB / 0.4966 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3591, allocations: 66.03 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1805/0.5397, allocations: 132 MB / 0.69 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006784/0.5464, allocations: 4.754 MB / 0.6947 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.5466, allocations: 0 / 0.6947 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.5469, allocations: 55.61 kB / 0.6947 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004155/0.5511, allocations: 1.327 MB / 0.696 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.5514, allocations: 143.5 kB / 0.6961 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000578/0.552, allocations: 398.1 kB / 0.6965 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.283e-05/0.5521, allocations: 17.8 kB / 0.6965 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.5524, allocations: 183.3 kB / 0.6967 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.5527, allocations: 175.5 kB / 0.6969 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.5528, allocations: 8 kB / 0.6969 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.5553, allocations: 0.994 MB / 0.6979 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.5554, allocations: 47.75 kB / 0.6979 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.5555, allocations: 95.59 kB / 0.698 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.5571, allocations: 0.8571 MB / 0.6988 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.5571, allocations: 3.984 kB / 0.6988 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5571, allocations: 0 / 0.6988 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.5572, allocations: 0 / 0.6988 GB, free: 6.598 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.001502/0.5587, allocations: 0.6177 MB / 0.6994 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5587, allocations: 8.031 kB / 0.6994 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007507/0.5662, allocations: 0.6054 MB / 0.7 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/0.567, allocations: 209.6 kB / 0.7002 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/0.5673, allocations: 230.1 kB / 0.7005 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.5674, allocations: 24 kB / 0.7005 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.5689, allocations: 0.7422 MB / 0.7012 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.5689, allocations: 0 / 0.7012 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/0.569, allocations: 12 kB / 0.7012 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.569, allocations: 8 kB / 0.7012 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.5705, allocations: 0.6221 MB / 0.7018 GB, free: 3.344 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.002325/0.5728, allocations: 1.413 MB / 0.7032 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.5732, allocations: 142.5 kB / 0.7033 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.5734, allocations: 64.88 kB / 0.7034 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.5745, allocations: 487 kB / 0.7039 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.5745, allocations: 34.56 kB / 0.7039 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/0.5746, allocations: 0 / 0.7039 GB, free: 1.098 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.001059/0.5756, allocations: 337.9 kB / 0.7042 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.5757, allocations: 55.41 kB / 0.7043 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.5759, allocations: 199 kB / 0.7045 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.5759, allocations: 29.7 kB / 0.7045 GB, free: 476 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.576, allocations: 187.8 kB / 0.7047 GB, free: 284 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.5761, allocations: 71.36 kB / 0.7047 GB, free: 212 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.5763, allocations: 94 kB / 0.7048 GB, free: 112 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.5764, allocations: 330.8 kB / 0.7052 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.5766, allocations: 68.7 kB / 0.7052 GB, free: 15.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.5768, allocations: 264 kB / 0.7055 GB, free: 15.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.5773, allocations: 370.2 kB / 0.7058 GB, free: 14.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.5773, allocations: 4 kB / 0.7058 GB, free: 14.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000649/0.578, allocations: 368.3 kB / 0.7062 GB, free: 14.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.578, allocations: 8 kB / 0.7062 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.578, allocations: 16 kB / 0.7062 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.5781, allocations: 15.98 kB / 0.7062 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.5785, allocations: 127.8 kB / 0.7063 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004137/0.5789, allocations: 0.6054 MB / 0.7069 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.5791, allocations: 39.73 kB / 0.707 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.5792, allocations: 40 kB / 0.707 GB, free: 13.66 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.0001566/0.5793, allocations: 145.6 kB / 0.7071 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.5794, allocations: 15.91 kB / 0.7072 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008428/0.5802, allocations: 471.3 kB / 0.7076 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5802, allocations: 4 kB / 0.7076 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5802, allocations: 3.938 kB / 0.7076 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5802, allocations: 4 kB / 0.7076 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008281/0.5811, allocations: 497.1 kB / 0.7081 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5811, allocations: 4 kB / 0.7081 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.5813, allocations: 59.91 kB / 0.7082 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-06/0.5813, allocations: 8.234 kB / 0.7082 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.5813, allocations: 8 kB / 0.7082 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003785/0.5817, allocations: 0.5938 MB / 0.7088 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.5817, allocations: 7.938 kB / 0.7088 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.5821, allocations: 298.3 kB / 0.709 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.031e-05/0.5822, allocations: 35.88 kB / 0.7091 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.5822, allocations: 4 kB / 0.7091 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.5825, allocations: 15.94 kB / 0.7091 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.5825, allocations: 24.06 kB / 0.7091 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.5825, allocations: 19.98 kB / 0.7091 GB, free: 11.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001295/0.5827, allocations: 132 kB / 0.7093 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5827, allocations: 4 kB / 0.7093 GB, free: 11.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006436/0.5833, allocations: 171.6 kB / 0.7094 GB, free: 11.02 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.0005098/0.5838, allocations: 272.3 kB / 0.7097 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005056/0.5843, allocations: 209.3 kB / 0.7099 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5843, allocations: 8.125 kB / 0.7099 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.5845, allocations: 75.89 kB / 0.71 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.5851, allocations: 79.5 kB / 0.71 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.5867, allocations: 0.8822 MB / 0.7109 GB, free: 9.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.5869, allocations: 116.5 kB / 0.711 GB, free: 9.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006525/0.5875, allocations: 382.1 kB / 0.7114 GB, free: 8.949 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.5877, allocations: 55.39 kB / 0.7114 GB, free: 8.895 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.5877, allocations: 4 kB / 0.7114 GB, free: 8.891 MB / 0.545 GB Notification: Performance of Templates: time 0.01153/0.5992, allocations: 6.178 MB / 0.7175 GB, free: 2.781 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/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.968534267041832]