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.001126/0.001126, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.002234/0.002234, allocations: 165 kB / 23.79 MB, free: 0.7773 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.9159/0.9159, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1216/0.1216, allocations: 32.38 MB / 270.4 MB, free: 14.7 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 1.693e-06/1.693e-06, allocations: 0 / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.385e-05, allocations: 13.28 kB / 347.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2863/0.2863, allocations: 144.4 MB / 492.1 MB, free: 9.645 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.2897, allocations: 4.829 MB / 496.9 MB, free: 8.352 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.792e-05/0.2897, allocations: 3.125 kB / 496.9 MB, free: 8.352 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.29, allocations: 60.06 kB / 497 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.2925, allocations: 1.624 MB / 498.6 MB, free: 7.344 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.2926, allocations: 154.8 kB / 498.7 MB, free: 7.273 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.293, allocations: 422.7 kB / 499.1 MB, free: 7.102 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.293, allocations: 7.562 kB / 499.1 MB, free: 7.102 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.2932, allocations: 230.6 kB / 499.4 MB, free: 7.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.2934, allocations: 161.2 kB / 499.5 MB, free: 6.965 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.2934, allocations: 5.531 kB / 499.5 MB, free: 6.965 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.2947, allocations: 1.19 MB / 0.489 GB, free: 6.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.2947, allocations: 41.42 kB / 0.489 GB, free: 6.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.2948, allocations: 85.81 kB / 0.4891 GB, free: 6.543 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009272/0.2957, allocations: 1.079 MB / 0.4902 GB, free: 6.117 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2957, allocations: 3.938 kB / 0.4902 GB, free: 6.113 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2957, allocations: 0 / 0.4902 GB, free: 6.113 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.2957, allocations: 0 / 0.4902 GB, free: 6.113 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.0008016/0.2965, allocations: 0.7482 MB / 0.4909 GB, free: 5.539 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2966, allocations: 8.594 kB / 0.4909 GB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003407/0.3, allocations: 0.6455 MB / 0.4915 GB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.3003, allocations: 207.7 kB / 0.4917 GB, free: 5.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.242e-05/0.3003, allocations: 234.5 kB / 0.492 GB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/0.3004, allocations: 21.44 kB / 0.492 GB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.301, allocations: 0.7456 MB / 0.4927 GB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.301, allocations: 0 / 0.4927 GB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.301, allocations: 11.53 kB / 0.4927 GB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.301, allocations: 9.469 kB / 0.4927 GB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.3016, allocations: 0.5132 MB / 0.4932 GB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009783/0.3026, allocations: 1.826 MB / 0.495 GB, free: 2.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.3028, allocations: 139.3 kB / 0.4951 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.84e-05/0.3028, allocations: 73.25 kB / 0.4952 GB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006701/0.3035, allocations: 0.7328 MB / 0.4959 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.3035, allocations: 40.11 kB / 0.496 GB, free: 1.656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.083e-06/0.3035, allocations: 0 / 0.496 GB, free: 1.656 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.0005573/0.3041, allocations: 315.3 kB / 0.4963 GB, free: 1.527 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.64e-05/0.3041, allocations: 62.31 kB / 0.4963 GB, free: 1.457 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.92e-05/0.3042, allocations: 246.3 kB / 0.4966 GB, free: 1.238 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.3042, allocations: 32.3 kB / 0.4966 GB, free: 1.203 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.3042, allocations: 230.4 kB / 0.4968 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.3043, allocations: 68.38 kB / 0.4969 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/0.3043, allocations: 95.62 kB / 0.497 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.3044, allocations: 0.4948 MB / 0.4975 GB, free: 368 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.3045, allocations: 58.11 kB / 0.4975 GB, free: 348 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3046, allocations: 344.7 kB / 0.4978 GB, free: 15.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.3049, allocations: 430.4 kB / 0.4983 GB, free: 15.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3049, allocations: 2.406 kB / 0.4983 GB, free: 15.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003556/0.3053, allocations: 363.6 kB / 0.4986 GB, free: 15.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3053, allocations: 8.625 kB / 0.4986 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3053, allocations: 9.594 kB / 0.4986 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3053, allocations: 8.812 kB / 0.4986 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.3056, allocations: 122.5 kB / 0.4987 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005927/0.3061, allocations: 0.9147 MB / 0.4996 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.3063, allocations: 41.55 kB / 0.4997 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.3063, allocations: 50.67 kB / 0.4997 GB, free: 14.31 MB / 378.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 0.0001049/0.3064, allocations: 187.8 kB / 0.4999 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.3064, allocations: 31.52 kB / 0.4999 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.3069, allocations: 323.9 kB / 0.5002 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3069, allocations: 3.406 kB / 0.5002 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3069, allocations: 0 / 0.5002 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3069, allocations: 0 / 0.5002 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.3074, allocations: 0.5181 MB / 0.5008 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3074, allocations: 0 / 0.5008 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.3075, allocations: 55.27 kB / 0.5008 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3075, allocations: 3.031 kB / 0.5008 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3075, allocations: 17.09 kB / 0.5008 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002636/0.3078, allocations: 0.909 MB / 0.5017 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3078, allocations: 0 / 0.5017 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.308, allocations: 335.8 kB / 0.502 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.3081, allocations: 36.2 kB / 0.5021 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.3081, allocations: 7.391 kB / 0.5021 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3082, allocations: 9.562 kB / 0.5021 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.3082, allocations: 13.5 kB / 0.5021 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.3082, allocations: 22.02 kB / 0.5021 GB, free: 12.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.655e-05/0.3083, allocations: 167.8 kB / 0.5023 GB, free: 12.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3083, allocations: 0 / 0.5023 GB, free: 12.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004173/0.3087, allocations: 214.2 kB / 0.5025 GB, free: 11.96 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.0005927/0.3093, allocations: 382.3 kB / 0.5028 GB, free: 11.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.3097, allocations: 225.2 kB / 0.5031 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3097, allocations: 0 / 0.5031 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.884e-05/0.3098, allocations: 87.52 kB / 0.5031 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.3101, allocations: 87.59 kB / 0.5032 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.3123, allocations: 1.988 MB / 0.5052 GB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.447e-05/0.3123, allocations: 76.33 kB / 0.5052 GB, free: 9.215 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002423/0.3126, allocations: 102.3 kB / 0.5053 GB, free: 9.117 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.426e-05/0.3126, allocations: 36.48 kB / 0.5054 GB, free: 9.082 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3126, allocations: 0 / 0.5054 GB, free: 9.082 MB / 378.7 MB Notification: Performance of Templates: time 0.008132/0.3208, allocations: 6.732 MB / 0.5119 GB, free: 2.41 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.889999910723418]