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.00158/0.00158, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001026/0.001026, allocations: 168.8 kB / 24.91 MB, free: 9.152 MB / 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 0.9783/0.9783, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.2555/0.2555, allocations: 32.81 MB / 294.6 MB, free: 1.254 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 2.064e-06/2.064e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.066e-05, allocations: 7.406 kB / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3925/0.3926, allocations: 145.4 MB / 468.7 MB, free: 16.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00419/0.3968, allocations: 5.433 MB / 474.1 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.3969, allocations: 3.531 kB / 474.1 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.3972, allocations: 59.75 kB / 474.2 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.4006, allocations: 1.406 MB / 475.6 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.4009, allocations: 150.5 kB / 475.7 MB, free: 16.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005721/0.4015, allocations: 427.5 kB / 476.2 MB, free: 16.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.4015, allocations: 9.047 kB / 476.2 MB, free: 16.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.4019, allocations: 240.7 kB / 476.4 MB, free: 16.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.4021, allocations: 154.5 kB / 476.6 MB, free: 16.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.4021, allocations: 8.875 kB / 476.6 MB, free: 16.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.404, allocations: 0.9911 MB / 477.6 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.4041, allocations: 46.92 kB / 477.6 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.4043, allocations: 83.61 kB / 477.7 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.4059, allocations: 0.9393 MB / 478.6 MB, free: 16.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4059, allocations: 0 / 478.6 MB, free: 16.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4059, allocations: 0 / 478.6 MB, free: 16.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.4059, allocations: 0 / 478.6 MB, free: 16.52 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.0009747/0.4069, allocations: 0.604 MB / 479.2 MB, free: 16.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.4069, allocations: 14.95 kB / 479.2 MB, free: 16.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.4103, allocations: 0.7613 MB / 480 MB, free: 16.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.4107, allocations: 166.5 kB / 480.2 MB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.014e-05/0.4107, allocations: 232.3 kB / 480.4 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.518e-05/0.4108, allocations: 28.34 kB / 480.4 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.4114, allocations: 0.6608 MB / 481.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4114, allocations: 0 / 481.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.4115, allocations: 15.45 kB / 481.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.4115, allocations: 5.375 kB / 481.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.4119, allocations: 379 kB / 481.5 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.4131, allocations: 1.299 MB / 482.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.4132, allocations: 106.9 kB / 482.9 MB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.4133, allocations: 49.42 kB / 482.9 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005826/0.4139, allocations: 470 kB / 483.4 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.4139, allocations: 41.47 kB / 483.4 MB, free: 14.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.4139, allocations: 1.203 kB / 483.4 MB, free: 14.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004571/0.4143, allocations: 241.6 kB / 483.7 MB, free: 14.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.4144, allocations: 54.91 kB / 483.7 MB, free: 14.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.853e-05/0.4145, allocations: 192.6 kB / 483.9 MB, free: 13.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.4145, allocations: 32.83 kB / 483.9 MB, free: 13.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.4145, allocations: 188.9 kB / 484.1 MB, free: 13.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.4146, allocations: 68.97 kB / 484.2 MB, free: 13.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.4147, allocations: 93.84 kB / 484.3 MB, free: 13.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.4147, allocations: 331.2 kB / 484.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-05/0.4147, allocations: 31.73 kB / 484.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.692e-05/0.4148, allocations: 242.2 kB / 484.9 MB, free: 13.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.415, allocations: 325.3 kB / 485.2 MB, free: 12.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.415, allocations: 0 / 485.2 MB, free: 12.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002635/0.4153, allocations: 279.5 kB / 485.5 MB, free: 12.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4153, allocations: 9.219 kB / 485.5 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4153, allocations: 8.5 kB / 485.5 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4153, allocations: 8.656 kB / 485.5 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.4156, allocations: 107.8 kB / 485.6 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001689/0.4157, allocations: 0.5963 MB / 486.2 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.4159, allocations: 37.33 kB / 486.2 MB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.4159, allocations: 38.8 kB / 486.3 MB, free: 12.16 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.453e-05/0.416, allocations: 148.7 kB / 486.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.416, allocations: 19.06 kB / 486.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004203/0.4164, allocations: 406.6 kB / 486.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4164, allocations: 0 / 486.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.4164, allocations: 11.03 kB / 486.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4164, allocations: 0 / 486.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.4169, allocations: 419.1 kB / 487.2 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4169, allocations: 2.844 kB / 487.2 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.417, allocations: 48.64 kB / 487.3 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/0.417, allocations: 6.656 kB / 487.3 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.417, allocations: 9.594 kB / 487.3 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001211/0.4171, allocations: 0.5868 MB / 487.9 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4171, allocations: 2.781 kB / 487.9 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.4173, allocations: 256.6 kB / 488.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.4173, allocations: 34.17 kB / 488.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.4173, allocations: 2.906 kB / 488.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.4174, allocations: 11.03 kB / 488.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.4175, allocations: 23.27 kB / 488.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.4175, allocations: 15.89 kB / 488.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.397e-05/0.4175, allocations: 61.05 kB / 488.3 MB, free: 10.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4175, allocations: 0 / 488.3 MB, free: 10.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004878/0.418, allocations: 167.1 kB / 488.5 MB, free: 10.82 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.000385/0.4184, allocations: 269.6 kB / 488.7 MB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.4187, allocations: 180.5 kB / 488.9 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/0.4187, allocations: 7 kB / 488.9 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.715e-05/0.4187, allocations: 63.14 kB / 489 MB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.419, allocations: 85.16 kB / 489 MB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.4204, allocations: 0.8581 MB / 489.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.191e-05/0.4204, allocations: 74.95 kB / 490 MB, free: 10.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004047/0.4208, allocations: 381.9 kB / 490.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.421, allocations: 146.9 kB / 490.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.421, allocations: 0 / 490.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of Templates: time 0.008466/0.4295, allocations: 6.794 MB / 497.3 MB, free: 8.227 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: 3.6233092858456075]