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.0007684/0.0007684, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001776, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006786/0.0006786, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008543/0.001533, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9696/0.9696, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09873/1.068, allocations: 53.88 MB / 243.9 MB, free: 14.83 MB / 250.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.282/0.282, allocations: 34.89 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03807/0.32, allocations: 13.24 MB / 292.8 MB, free: 6.375 MB / 282.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.744e-06/1.744e-06, allocations: 0 / 294.1 MB, free: 5.043 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.361e-05, allocations: 2.312 kB / 294.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.137/0.137, allocations: 145.9 MB / 440 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1672/0.3042, allocations: 5.447 MB / 445.5 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3043, allocations: 4.625 kB / 445.5 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.3045, allocations: 61.09 kB / 445.5 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.3067, allocations: 1.364 MB / 446.9 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.3069, allocations: 150 kB / 447.1 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.3073, allocations: 423.2 kB / 447.5 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.3073, allocations: 17.52 kB / 447.5 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.3076, allocations: 242.8 kB / 447.7 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.3078, allocations: 151.8 kB / 447.9 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.3078, allocations: 11.06 kB / 447.9 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.3091, allocations: 1.057 MB / 448.9 MB, free: 3.516 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.939e-05/0.3092, allocations: 24.67 kB / 449 MB, free: 3.516 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.117e-05/0.3093, allocations: 65.23 kB / 449 MB, free: 3.516 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009168/0.3102, allocations: 0.8136 MB / 449.8 MB, free: 3.461 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/0.3102, allocations: 0 / 449.8 MB, free: 3.461 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3102, allocations: 0.9062 kB / 449.8 MB, free: 3.461 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3102, allocations: 0 / 449.8 MB, free: 3.461 MB / 426.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.001112/0.3114, allocations: 0.7897 MB / 450.6 MB, free: 19.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3114, allocations: 11.58 kB / 450.6 MB, free: 19.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003151/0.3145, allocations: 0.7594 MB / 451.4 MB, free: 18.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.315, allocations: 167.5 kB / 451.6 MB, free: 18.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/0.3151, allocations: 231.9 kB / 451.8 MB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.3152, allocations: 25.12 kB / 451.8 MB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.3156, allocations: 0.6659 MB / 452.5 MB, free: 18.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3157, allocations: 4.922 kB / 452.5 MB, free: 18.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.3157, allocations: 10.03 kB / 452.5 MB, free: 18.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.3157, allocations: 6.344 kB / 452.5 MB, free: 18.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.3161, allocations: 377.7 kB / 452.9 MB, free: 18.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009568/0.317, allocations: 1.305 MB / 454.2 MB, free: 17.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.3172, allocations: 99.56 kB / 454.3 MB, free: 17.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.3172, allocations: 46.39 kB / 454.3 MB, free: 17.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004994/0.3177, allocations: 474.3 kB / 454.8 MB, free: 17.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.3177, allocations: 41.38 kB / 454.8 MB, free: 17.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 1.082e-06/0.3177, allocations: 1.094 kB / 454.8 MB, free: 17.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005649/0.3183, allocations: 313.1 kB / 455.1 MB, free: 16.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.3183, allocations: 56.91 kB / 455.2 MB, free: 16.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.081e-05/0.3184, allocations: 193.8 kB / 455.4 MB, free: 16.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3184, allocations: 32.36 kB / 455.4 MB, free: 16.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.3185, allocations: 194 kB / 455.6 MB, free: 16.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.3185, allocations: 66.22 kB / 455.7 MB, free: 16.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.3186, allocations: 96.58 kB / 455.8 MB, free: 16.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.3186, allocations: 326.2 kB / 456.1 MB, free: 16.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.3187, allocations: 35.66 kB / 456.1 MB, free: 16.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.073e-05/0.3188, allocations: 238.4 kB / 456.3 MB, free: 15.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.3189, allocations: 344 kB / 456.7 MB, free: 15.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.319, allocations: 3.938 kB / 456.7 MB, free: 15.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002366/0.3192, allocations: 276.1 kB / 457 MB, free: 15.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3192, allocations: 8.562 kB / 457 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3192, allocations: 6.812 kB / 457 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3192, allocations: 10.66 kB / 457 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.3195, allocations: 136.4 kB / 457.1 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001988/0.3197, allocations: 0.5905 MB / 457.7 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.3198, allocations: 42.23 kB / 457.7 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.3198, allocations: 36.27 kB / 457.8 MB, free: 15.09 MB / 442.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.829e-05/0.3199, allocations: 149.3 kB / 457.9 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.3199, allocations: 21.12 kB / 457.9 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.3203, allocations: 411.6 kB / 458.3 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3203, allocations: 3.109 kB / 458.3 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.3203, allocations: 3.062 kB / 458.4 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3203, allocations: 1.062 kB / 458.4 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.3207, allocations: 419 kB / 458.8 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3207, allocations: 7.5 kB / 458.8 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.3208, allocations: 52.78 kB / 458.8 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.3209, allocations: 33.61 kB / 458.9 MB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3209, allocations: 6.625 kB / 458.9 MB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3209, allocations: 7.031 kB / 458.9 MB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000213/0.3211, allocations: 0.5868 MB / 459.5 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3211, allocations: 3.062 kB / 459.5 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.3213, allocations: 245.3 kB / 459.7 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.3213, allocations: 9.156 kB / 459.7 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3214, allocations: 13.97 kB / 459.7 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.3214, allocations: 18.44 kB / 459.7 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.3214, allocations: 17.5 kB / 459.8 MB, free: 13.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.682e-05/0.3215, allocations: 54.95 kB / 459.8 MB, free: 13.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3215, allocations: 0 / 459.8 MB, free: 13.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.3218, allocations: 168.3 kB / 460 MB, free: 13.79 MB / 442.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.0003489/0.3221, allocations: 274.5 kB / 460.2 MB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.3224, allocations: 195.1 kB / 460.4 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.3224, allocations: 3.844 kB / 460.4 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3225, allocations: 95.56 kB / 460.5 MB, free: 13.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.3228, allocations: 235.5 kB / 460.8 MB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.3262, allocations: 0.8737 MB / 461.6 MB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.606e-05/0.3263, allocations: 70.34 kB / 461.7 MB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.3266, allocations: 379.7 kB / 462.1 MB, free: 13.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.3268, allocations: 151.9 kB / 462.2 MB, free: 13.08 MB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3268, allocations: 0 / 462.2 MB, free: 13.08 MB / 442.7 MB Notification: Performance of Templates: time 0.006921/0.3338, allocations: 6.695 MB / 468.9 MB, free: 12.51 MB / 442.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.665393899194896]