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.0013/0.0013, 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.001008/0.001008, 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.8615/0.8615, 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.127/0.127, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.283e-06/1.283e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.538e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2866/0.2867, allocations: 143.8 MB / 442.9 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004538/0.2912, allocations: 4.834 MB / 447.8 MB, free: 9.117 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.2913, allocations: 0 / 447.8 MB, free: 9.117 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.2916, allocations: 59.55 kB / 447.8 MB, free: 9.059 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.2952, allocations: 1.601 MB / 449.4 MB, free: 7.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.2955, allocations: 155.7 kB / 449.6 MB, free: 7.297 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005442/0.2961, allocations: 426.6 kB / 450 MB, free: 6.883 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.2961, allocations: 15.25 kB / 450 MB, free: 6.871 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.2964, allocations: 231.3 kB / 450.2 MB, free: 6.645 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.2967, allocations: 155.6 kB / 450.4 MB, free: 6.492 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.2967, allocations: 8 kB / 450.4 MB, free: 6.484 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.299, allocations: 1.259 MB / 451.7 MB, free: 5.223 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.688e-05/0.299, allocations: 39.83 kB / 451.7 MB, free: 5.184 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.768e-05/0.2991, allocations: 91.75 kB / 451.8 MB, free: 5.094 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.3009, allocations: 1.071 MB / 452.9 MB, free: 4.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3009, allocations: 4 kB / 452.9 MB, free: 4.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3009, allocations: 0 / 452.9 MB, free: 4.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3009, allocations: 0 / 452.9 MB, free: 4.016 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.001295/0.3022, allocations: 0.6314 MB / 453.5 MB, free: 3.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3023, allocations: 8.031 kB / 453.5 MB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/0.3057, allocations: 0.7337 MB / 454.2 MB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.306, allocations: 169.5 kB / 454.4 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.3061, allocations: 226.7 kB / 454.6 MB, free: 2.156 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-05/0.3062, allocations: 32.12 kB / 454.6 MB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.3068, allocations: 0.6598 MB / 455.3 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3068, allocations: 0 / 455.3 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.3068, allocations: 12 kB / 455.3 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.3069, allocations: 8 kB / 455.3 MB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004756/0.3073, allocations: 371.8 kB / 455.7 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2158/0.5231, allocations: 1.279 MB / 457 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.5233, allocations: 106.9 kB / 457.1 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.24e-05/0.5234, allocations: 44.84 kB / 457.1 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.5245, allocations: 0.6632 MB / 457.8 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.5245, allocations: 43 kB / 457.8 MB, free: 9.723 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.184e-06/0.5245, allocations: 0.7188 kB / 457.8 MB, free: 9.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006068/0.5251, allocations: 242.8 kB / 458.1 MB, free: 9.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.5251, allocations: 55.28 kB / 458.1 MB, free: 9.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.5253, allocations: 196.5 kB / 458.3 MB, free: 9.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.5253, allocations: 30.33 kB / 458.3 MB, free: 9.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.5253, allocations: 184.9 kB / 458.5 MB, free: 9.344 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.5254, allocations: 77.16 kB / 458.6 MB, free: 9.305 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.5255, allocations: 80.95 kB / 458.7 MB, free: 9.285 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.5255, allocations: 335.5 kB / 459 MB, free: 8.973 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/0.5256, allocations: 36 kB / 459 MB, free: 8.973 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.5257, allocations: 235.7 kB / 459.3 MB, free: 8.727 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.526, allocations: 329.4 kB / 459.6 MB, free: 8.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.526, allocations: 3.25 kB / 459.6 MB, free: 8.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004254/0.5265, allocations: 264.3 kB / 459.8 MB, free: 8.449 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5265, allocations: 9.406 kB / 459.9 MB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.5265, allocations: 7.344 kB / 459.9 MB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.5265, allocations: 10.28 kB / 459.9 MB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.5268, allocations: 114.9 kB / 460 MB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002036/0.527, allocations: 0.6061 MB / 460.6 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.5272, allocations: 44.05 kB / 460.6 MB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.5272, allocations: 37.31 kB / 460.7 MB, free: 7.852 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 9.411e-05/0.5273, allocations: 142.2 kB / 460.8 MB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.5274, allocations: 20.59 kB / 460.8 MB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.5278, allocations: 269.8 kB / 461.1 MB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5278, allocations: 5 kB / 461.1 MB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.5278, allocations: 5.719 kB / 461.1 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5278, allocations: 1.078 kB / 461.1 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.5282, allocations: 355.9 kB / 461.5 MB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.5282, allocations: 1.625 kB / 461.5 MB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.5283, allocations: 48.8 kB / 461.5 MB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.5283, allocations: 7.828 kB / 461.5 MB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5283, allocations: 7.594 kB / 461.5 MB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001368/0.5285, allocations: 0.588 MB / 462.1 MB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5285, allocations: 2.188 kB / 462.1 MB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.5286, allocations: 229.5 kB / 462.3 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.5287, allocations: 25.73 kB / 462.4 MB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.5287, allocations: 8.5 kB / 462.4 MB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.5288, allocations: 10.42 kB / 462.4 MB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.5289, allocations: 22.8 kB / 462.4 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.5289, allocations: 13.19 kB / 462.4 MB, free: 6.648 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.5289, allocations: 53.92 kB / 462.5 MB, free: 6.637 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5289, allocations: 1.031 kB / 462.5 MB, free: 6.637 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005836/0.5295, allocations: 205 kB / 462.7 MB, free: 6.633 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.0006905/0.5302, allocations: 372 kB / 463 MB, free: 6.562 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.5305, allocations: 186.6 kB / 463.2 MB, free: 6.551 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.5306, allocations: 4.344 kB / 463.2 MB, free: 6.551 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.5307, allocations: 69.97 kB / 463.3 MB, free: 6.543 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.531, allocations: 77.91 kB / 463.4 MB, free: 6.539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.5333, allocations: 1.94 MB / 465.3 MB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.859e-05/0.5334, allocations: 75.95 kB / 465.4 MB, free: 6.227 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002873/0.5336, allocations: 96.55 kB / 465.5 MB, free: 6.203 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.5339, allocations: 142 kB / 465.6 MB, free: 6.152 MB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/0.5339, allocations: 0 / 465.6 MB, free: 6.152 MB / 410.7 MB Notification: Performance of Templates: time 0.009797/0.5437, allocations: 7.927 MB / 473.5 MB, free: 5.512 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 -s gbode -gbm=radauIIA3 -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.6342713148333132]