Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009131/0.0009131, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 158.5 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9735/0.9735, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2375/0.2375, allocations: 34.87 MB / 296.6 MB, free: 476 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.826e-05, allocations: 2.312 kB / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2994/0.2994, allocations: 145.4 MB / 471.4 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004596/0.304, allocations: 5.439 MB / 476.8 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.3042, allocations: 2.406 kB / 476.8 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.3044, allocations: 59.42 kB / 476.9 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.3075, allocations: 1.405 MB / 478.3 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.3078, allocations: 147.5 kB / 478.4 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.3083, allocations: 426.5 kB / 478.8 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.3084, allocations: 15.17 kB / 478.9 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.3087, allocations: 236.2 kB / 479.1 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.309, allocations: 149.4 kB / 479.2 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.3091, allocations: 12.31 kB / 479.2 MB, free: 16.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.3106, allocations: 0.994 MB / 480.2 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.3107, allocations: 49.36 kB / 480.3 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.454e-05/0.3107, allocations: 81.98 kB / 480.4 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.3119, allocations: 0.9361 MB / 481.3 MB, free: 16.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3119, allocations: 3.125 kB / 481.3 MB, free: 16.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3119, allocations: 2.344 kB / 481.3 MB, free: 16.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.3119, allocations: 0 / 481.3 MB, free: 16.02 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.0008269/0.3127, allocations: 0.593 MB / 481.9 MB, free: 15.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.3128, allocations: 11.91 kB / 481.9 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/0.316, allocations: 0.7696 MB / 482.7 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.3163, allocations: 168.4 kB / 482.9 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.3164, allocations: 227.8 kB / 483.1 MB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/0.3164, allocations: 27.94 kB / 483.1 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.3169, allocations: 0.6715 MB / 483.8 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3169, allocations: 0 / 483.8 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.317, allocations: 10.12 kB / 483.8 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.317, allocations: 5.938 kB / 483.8 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.3174, allocations: 374.9 kB / 484.2 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009522/0.3184, allocations: 1.295 MB / 485.4 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.3185, allocations: 111.6 kB / 485.6 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.3185, allocations: 42 kB / 485.6 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000529/0.3191, allocations: 476.4 kB / 486.1 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3191, allocations: 40.7 kB / 486.1 MB, free: 13.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.3191, allocations: 0 / 486.1 MB, free: 13.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004168/0.3195, allocations: 235.6 kB / 486.3 MB, free: 13.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.705e-05/0.3195, allocations: 57.38 kB / 486.4 MB, free: 13.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.3196, allocations: 194.8 kB / 486.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3196, allocations: 31.55 kB / 486.6 MB, free: 13.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.3197, allocations: 191.5 kB / 486.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.3197, allocations: 72.44 kB / 486.9 MB, free: 13.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.3198, allocations: 91.56 kB / 487 MB, free: 13.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.644e-05/0.3198, allocations: 329.3 kB / 487.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.952e-05/0.3198, allocations: 34.33 kB / 487.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.525e-05/0.3199, allocations: 235.8 kB / 487.5 MB, free: 12.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.3201, allocations: 322.5 kB / 487.9 MB, free: 12.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3201, allocations: 2.969 kB / 487.9 MB, free: 12.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002331/0.3204, allocations: 278.7 kB / 488.1 MB, free: 12.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3204, allocations: 7.531 kB / 488.1 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.3204, allocations: 8.812 kB / 488.1 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3204, allocations: 11.97 kB / 488.2 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.3206, allocations: 108.6 kB / 488.3 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001345/0.3207, allocations: 0.593 MB / 488.9 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3208, allocations: 40.3 kB / 488.9 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.3209, allocations: 47.64 kB / 488.9 MB, free: 11.66 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 7.531e-05/0.321, allocations: 138.6 kB / 489.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.321, allocations: 22.58 kB / 489.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.3214, allocations: 409.8 kB / 489.5 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3214, allocations: 0 / 489.5 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.3214, allocations: 0 / 489.5 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3214, allocations: 5.062 kB / 489.5 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.3218, allocations: 415.5 kB / 489.9 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3218, allocations: 2.812 kB / 489.9 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.419e-05/0.3219, allocations: 45.34 kB / 490 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3219, allocations: 7.219 kB / 490 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3219, allocations: 18.58 kB / 490 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001082/0.322, allocations: 0.581 MB / 490.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.322, allocations: 2.812 kB / 490.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.3221, allocations: 250.1 kB / 490.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.3222, allocations: 29.94 kB / 490.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.3222, allocations: 6.469 kB / 490.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3223, allocations: 11.22 kB / 490.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.3223, allocations: 24.17 kB / 490.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3223, allocations: 18.73 kB / 490.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.125e-05/0.3224, allocations: 58.02 kB / 491 MB, free: 10.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3224, allocations: 0 / 491 MB, free: 10.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003918/0.3228, allocations: 163.4 kB / 491.1 MB, free: 10.33 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.0003528/0.3231, allocations: 273.2 kB / 491.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.3234, allocations: 183.6 kB / 491.6 MB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.3234, allocations: 10.56 kB / 491.6 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.48e-05/0.3234, allocations: 58.94 kB / 491.6 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.3237, allocations: 86.92 kB / 491.7 MB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3249, allocations: 0.8577 MB / 492.6 MB, free: 9.887 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.593e-05/0.3249, allocations: 75.92 kB / 492.6 MB, free: 9.816 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003863/0.3253, allocations: 379 kB / 493 MB, free: 9.766 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.3255, allocations: 154.8 kB / 493.2 MB, free: 9.707 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3255, allocations: 0 / 493.2 MB, free: 9.707 MB / 410.7 MB Notification: Performance of Templates: time 0.007114/0.3326, allocations: 6.79 MB / 500 MB, free: 7.246 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4083845713175833]