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.001332/0.001332, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001688/0.001688, allocations: 169 kB / 24.14 MB, free: 364 kB / 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.842/0.842, allocations: 158.6 MB / 186 MB, free: 2.766 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.1394/0.1394, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.803e-06/1.803e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.926e-05, allocations: 2.312 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3007/0.3007, allocations: 143.7 MB / 442.8 MB, free: 14.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003623/0.3043, allocations: 4.825 MB / 447.7 MB, free: 9.227 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.948e-05/0.3044, allocations: 0 / 447.7 MB, free: 9.227 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.3047, allocations: 67.53 kB / 447.7 MB, free: 9.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003029/0.3077, allocations: 1.636 MB / 449.4 MB, free: 7.516 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.3079, allocations: 147.8 kB / 449.5 MB, free: 7.371 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.3086, allocations: 434.5 kB / 449.9 MB, free: 6.949 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.3087, allocations: 15.25 kB / 450 MB, free: 6.938 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.3089, allocations: 235.3 kB / 450.2 MB, free: 6.707 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.3091, allocations: 159.6 kB / 450.3 MB, free: 6.551 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.3091, allocations: 8 kB / 450.4 MB, free: 6.543 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.3106, allocations: 1.175 MB / 451.5 MB, free: 5.367 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.652e-05/0.3107, allocations: 55.75 kB / 451.6 MB, free: 5.312 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.3108, allocations: 79.83 kB / 451.7 MB, free: 5.234 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.3119, allocations: 1.075 MB / 452.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3119, allocations: 0 / 452.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3119, allocations: 0 / 452.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.3119, allocations: 0 / 452.7 MB, free: 4.156 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.0008496/0.3128, allocations: 0.6313 MB / 453.4 MB, free: 3.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.745e-05/0.3128, allocations: 12.03 kB / 453.4 MB, free: 3.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003128/0.3159, allocations: 0.7336 MB / 454.1 MB, free: 2.754 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.3162, allocations: 169.6 kB / 454.3 MB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-05/0.3163, allocations: 230.6 kB / 454.5 MB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/0.3164, allocations: 32.11 kB / 454.5 MB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.3169, allocations: 0.6598 MB / 455.2 MB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3169, allocations: 0 / 455.2 MB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.317, allocations: 12 kB / 455.2 MB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.317, allocations: 11.94 kB / 455.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000424/0.3174, allocations: 371.9 kB / 455.6 MB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1753/0.4927, allocations: 1.275 MB / 456.9 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.493, allocations: 103.4 kB / 457 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.279e-05/0.4931, allocations: 50.97 kB / 457 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/0.4943, allocations: 0.6584 MB / 457.7 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.4943, allocations: 46.69 kB / 457.7 MB, free: 9.824 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.4944, allocations: 0.8125 kB / 457.7 MB, free: 9.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006754/0.495, allocations: 240.6 kB / 457.9 MB, free: 9.793 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.4951, allocations: 54.47 kB / 458 MB, free: 9.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.4952, allocations: 196 kB / 458.2 MB, free: 9.609 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.4952, allocations: 33.23 kB / 458.2 MB, free: 9.578 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.4953, allocations: 182.1 kB / 458.4 MB, free: 9.445 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.4953, allocations: 76.59 kB / 458.5 MB, free: 9.406 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.4954, allocations: 84.98 kB / 458.6 MB, free: 9.387 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.024e-05/0.4955, allocations: 332.9 kB / 458.9 MB, free: 9.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.319e-05/0.4955, allocations: 34.61 kB / 458.9 MB, free: 9.074 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.4957, allocations: 239 kB / 459.2 MB, free: 8.828 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.496, allocations: 325.3 kB / 459.5 MB, free: 8.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.496, allocations: 3.391 kB / 459.5 MB, free: 8.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004162/0.4964, allocations: 265.6 kB / 459.7 MB, free: 8.551 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.4964, allocations: 7.625 kB / 459.7 MB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.4965, allocations: 10.09 kB / 459.7 MB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.4965, allocations: 10.25 kB / 459.8 MB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.4968, allocations: 111.9 kB / 459.9 MB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000224/0.4971, allocations: 0.5983 MB / 460.5 MB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.4973, allocations: 43.19 kB / 460.5 MB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.4973, allocations: 35.92 kB / 460.5 MB, free: 7.953 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 0.0001054/0.4974, allocations: 138.9 kB / 460.7 MB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.4975, allocations: 21.64 kB / 460.7 MB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004453/0.4979, allocations: 274.7 kB / 461 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4979, allocations: 1.469 kB / 461 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.4979, allocations: 5.969 kB / 461 MB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4979, allocations: 3.312 kB / 461 MB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.4983, allocations: 357.4 kB / 461.3 MB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.4983, allocations: 2.312 kB / 461.3 MB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.4984, allocations: 49.09 kB / 461.4 MB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4985, allocations: 5.75 kB / 461.4 MB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.4985, allocations: 8.188 kB / 461.4 MB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001329/0.4986, allocations: 0.584 MB / 462 MB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4986, allocations: 1.75 kB / 462 MB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.4988, allocations: 230.5 kB / 462.2 MB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.4988, allocations: 31.94 kB / 462.2 MB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.4989, allocations: 4.094 kB / 462.2 MB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.499, allocations: 12.34 kB / 462.2 MB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.499, allocations: 16.67 kB / 462.3 MB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.4991, allocations: 16.08 kB / 462.3 MB, free: 6.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.892e-05/0.4991, allocations: 51.72 kB / 462.3 MB, free: 6.742 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4991, allocations: 3.188 kB / 462.3 MB, free: 6.742 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006451/0.4998, allocations: 211.2 kB / 462.5 MB, free: 6.738 MB / 410.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.0007161/0.5005, allocations: 374.4 kB / 462.9 MB, free: 6.664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.5008, allocations: 186.5 kB / 463.1 MB, free: 6.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.5008, allocations: 6.297 kB / 463.1 MB, free: 6.652 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.501, allocations: 64.28 kB / 463.2 MB, free: 6.645 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.5014, allocations: 73.67 kB / 463.2 MB, free: 6.645 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.504, allocations: 1.945 MB / 465.2 MB, free: 6.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.139e-05/0.504, allocations: 78.39 kB / 465.3 MB, free: 6.324 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003056/0.5043, allocations: 94.66 kB / 465.3 MB, free: 6.301 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.5046, allocations: 132.5 kB / 465.5 MB, free: 6.254 MB / 410.7 MB Notification: Performance of SimCode: time 4.4e-07/0.5046, allocations: 0.9062 kB / 465.5 MB, free: 6.254 MB / 410.7 MB Notification: Performance of Templates: time 0.01087/0.5154, allocations: 7.932 MB / 473.4 MB, free: 5.605 MB / 410.7 MB " [Timeout remaining time 659] 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.664362267591059]