Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009864/0.0009864, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.000987/0.000987, allocations: 165 kB / 24.56 MB, free: 24 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 1.042/1.042, allocations: 177.1 MB / 205 MB, free: 5.242 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2553/0.2553, allocations: 32.8 MB / 294.3 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.436e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3138/0.3139, allocations: 146.1 MB / 0.5099 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004376/0.3182, allocations: 5.42 MB / 0.5152 GB, free: 15.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.3184, allocations: 2.938 kB / 0.5152 GB, free: 15.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.3187, allocations: 55.03 kB / 0.5152 GB, free: 15.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003422/0.3222, allocations: 1.401 MB / 0.5166 GB, free: 14.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.3224, allocations: 151.7 kB / 0.5167 GB, free: 14.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005633/0.323, allocations: 426.5 kB / 0.5171 GB, free: 14.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.3231, allocations: 7.375 kB / 0.5171 GB, free: 14.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.3234, allocations: 233.5 kB / 0.5174 GB, free: 14.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.3236, allocations: 167.1 kB / 0.5175 GB, free: 14.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.3237, allocations: 8.344 kB / 0.5175 GB, free: 14.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.3256, allocations: 0.9867 MB / 0.5185 GB, free: 14.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.3257, allocations: 44.72 kB / 0.5185 GB, free: 14.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3258, allocations: 82.69 kB / 0.5186 GB, free: 14.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.3274, allocations: 0.9371 MB / 0.5195 GB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3274, allocations: 4 kB / 0.5195 GB, free: 13.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3274, allocations: 0 / 0.5195 GB, free: 13.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3274, allocations: 0 / 0.5195 GB, free: 13.71 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.001326/0.3287, allocations: 0.7221 MB / 0.5202 GB, free: 13.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3288, allocations: 15.33 kB / 0.5202 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/0.3326, allocations: 0.6605 MB / 0.5209 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.3331, allocations: 203.6 kB / 0.5211 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.816e-05/0.3332, allocations: 228.8 kB / 0.5213 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.955e-05/0.3333, allocations: 32.97 kB / 0.5213 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008724/0.3341, allocations: 0.742 MB / 0.5221 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3342, allocations: 0 / 0.5221 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.3342, allocations: 11.34 kB / 0.5221 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.3342, allocations: 8.031 kB / 0.5221 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.3349, allocations: 0.5164 MB / 0.5226 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.3363, allocations: 1.813 MB / 0.5244 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.3365, allocations: 141.4 kB / 0.5245 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.3366, allocations: 59.78 kB / 0.5245 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006463/0.3372, allocations: 0.5195 MB / 0.5251 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3372, allocations: 40.5 kB / 0.5251 GB, free: 10.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.455e-06/0.3373, allocations: 0 / 0.5251 GB, free: 10.09 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.0006904/0.3379, allocations: 309.3 kB / 0.5254 GB, free: 10 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.338, allocations: 51.41 kB / 0.5254 GB, free: 9.941 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3381, allocations: 259.8 kB / 0.5257 GB, free: 9.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.3381, allocations: 28.17 kB / 0.5257 GB, free: 9.699 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.3382, allocations: 243.6 kB / 0.5259 GB, free: 9.477 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.3382, allocations: 71.45 kB / 0.526 GB, free: 9.422 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.371e-05/0.3383, allocations: 98.44 kB / 0.5261 GB, free: 9.371 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.3384, allocations: 0.4985 MB / 0.5266 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.299e-05/0.3384, allocations: 48.66 kB / 0.5266 GB, free: 8.867 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.3386, allocations: 340.2 kB / 0.527 GB, free: 8.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.3388, allocations: 428.8 kB / 0.5274 GB, free: 8.039 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3388, allocations: 2.656 kB / 0.5274 GB, free: 8.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003837/0.3392, allocations: 365.8 kB / 0.5277 GB, free: 7.895 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3392, allocations: 9.781 kB / 0.5277 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.3392, allocations: 8.969 kB / 0.5277 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.3393, allocations: 8.812 kB / 0.5277 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.3395, allocations: 126.4 kB / 0.5279 GB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000255/0.3398, allocations: 0.914 MB / 0.5288 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.3399, allocations: 52.27 kB / 0.5288 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.34, allocations: 39.38 kB / 0.5289 GB, free: 6.938 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.563e-05/0.34, allocations: 184.8 kB / 0.529 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.3401, allocations: 30.11 kB / 0.5291 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.3406, allocations: 452.9 kB / 0.5295 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3406, allocations: 2.656 kB / 0.5295 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3406, allocations: 0 / 0.5295 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3406, allocations: 3.984 kB / 0.5295 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.3411, allocations: 0.5544 MB / 0.53 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3411, allocations: 4.062 kB / 0.53 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.3412, allocations: 66.92 kB / 0.5301 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3412, allocations: 3.562 kB / 0.5301 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.3412, allocations: 9.578 kB / 0.5301 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002032/0.3414, allocations: 0.9015 MB / 0.531 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3414, allocations: 3.125 kB / 0.531 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.3416, allocations: 356.7 kB / 0.5313 GB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.3417, allocations: 45.64 kB / 0.5314 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.3417, allocations: 7 kB / 0.5314 GB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3418, allocations: 8.266 kB / 0.5314 GB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.3418, allocations: 26.88 kB / 0.5314 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.3419, allocations: 17.16 kB / 0.5314 GB, free: 4.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.045e-05/0.3419, allocations: 180.2 kB / 0.5316 GB, free: 4.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3419, allocations: 3 kB / 0.5316 GB, free: 4.707 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005232/0.3425, allocations: 159.9 kB / 0.5318 GB, free: 4.676 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.0004005/0.3429, allocations: 288.6 kB / 0.532 GB, free: 4.531 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.3432, allocations: 218.9 kB / 0.5323 GB, free: 4.469 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3432, allocations: 0 / 0.5323 GB, free: 4.469 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.951e-05/0.3433, allocations: 81.05 kB / 0.5323 GB, free: 4.445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.3436, allocations: 88.95 kB / 0.5324 GB, free: 4.422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.3451, allocations: 0.8865 MB / 0.5333 GB, free: 3.875 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.862e-05/0.3451, allocations: 78.25 kB / 0.5334 GB, free: 3.801 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004408/0.3455, allocations: 378.7 kB / 0.5337 GB, free: 3.742 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.3457, allocations: 60.3 kB / 0.5338 GB, free: 3.727 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3457, allocations: 0 / 0.5338 GB, free: 3.727 MB / 410.7 MB Notification: Performance of Templates: time 0.007613/0.3533, allocations: 5.836 MB / 0.5395 GB, free: 2.012 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.025523396208882]