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.0008516/0.0008516, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003873/0.003873, allocations: 152.2 kB / 24.69 MB, free: 8.922 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.8578/0.8578, allocations: 177 MB / 204.9 MB, free: 5.77 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.2382/0.2382, allocations: 34.23 MB / 295.6 MB, free: 0.668 MB / 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.1.|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.1.|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.563e-06/1.563e-06, allocations: 0 / 443.4 MB, free: 1.023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.696e-05, allocations: 2.281 kB / 443.5 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2745/0.2746, allocations: 132 MB / 0.562 GB, free: 12.1 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00513/0.2797, allocations: 4.751 MB / 0.5666 GB, free: 7.344 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.2798, allocations: 7.938 kB / 0.5667 GB, free: 7.336 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.2802, allocations: 47.62 kB / 0.5667 GB, free: 7.289 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.2835, allocations: 1.352 MB / 0.568 GB, free: 5.93 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.2839, allocations: 148.7 kB / 0.5682 GB, free: 5.789 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005167/0.2844, allocations: 409.8 kB / 0.5685 GB, free: 5.387 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.2844, allocations: 5.812 kB / 0.5686 GB, free: 5.383 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.2847, allocations: 227.3 kB / 0.5688 GB, free: 5.16 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.285, allocations: 163.6 kB / 0.5689 GB, free: 5 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.285, allocations: 8 kB / 0.5689 GB, free: 4.992 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.2869, allocations: 0.9705 MB / 0.5699 GB, free: 4.02 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.287, allocations: 59.73 kB / 0.5699 GB, free: 3.961 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.834e-05/0.2871, allocations: 79.83 kB / 0.57 GB, free: 3.883 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.2884, allocations: 0.9508 MB / 0.5709 GB, free: 2.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2884, allocations: 4 kB / 0.5709 GB, free: 2.926 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2884, allocations: 0 / 0.5709 GB, free: 2.926 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2884, allocations: 0 / 0.5709 GB, free: 2.926 MB / 474.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.001001/0.2894, allocations: 0.6222 MB / 0.5716 GB, free: 2.277 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2894, allocations: 12.03 kB / 0.5716 GB, free: 2.266 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003644/0.2931, allocations: 0.6384 MB / 0.5722 GB, free: 1.633 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.2935, allocations: 201.4 kB / 0.5724 GB, free: 1.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.2937, allocations: 230.2 kB / 0.5726 GB, free: 1.137 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/0.2937, allocations: 24 kB / 0.5726 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008404/0.2946, allocations: 0.7423 MB / 0.5733 GB, free: 300 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2946, allocations: 0 / 0.5733 GB, free: 300 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/0.2947, allocations: 15.25 kB / 0.5734 GB, free: 288 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.2947, allocations: 7.938 kB / 0.5734 GB, free: 280 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.2958, allocations: 0.6223 MB / 0.574 GB, free: 15.65 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.2972, allocations: 1.403 MB / 0.5753 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.2974, allocations: 166.2 kB / 0.5755 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.521e-05/0.2975, allocations: 68.88 kB / 0.5756 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006442/0.2982, allocations: 470.6 kB / 0.576 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.2982, allocations: 34.56 kB / 0.5761 GB, free: 13.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 2.284e-06/0.2982, allocations: 0 / 0.5761 GB, free: 13.43 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.0006797/0.2989, allocations: 328.2 kB / 0.5764 GB, free: 13.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.2989, allocations: 59.33 kB / 0.5764 GB, free: 13.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2991, allocations: 195.1 kB / 0.5766 GB, free: 12.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.2991, allocations: 29.7 kB / 0.5766 GB, free: 12.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.2992, allocations: 191.8 kB / 0.5768 GB, free: 12.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.2992, allocations: 75.36 kB / 0.5769 GB, free: 12.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.2993, allocations: 94 kB / 0.577 GB, free: 12.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.2994, allocations: 326.8 kB / 0.5773 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.2995, allocations: 64.7 kB / 0.5774 GB, free: 12.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.2997, allocations: 264.5 kB / 0.5776 GB, free: 11.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.3, allocations: 374.2 kB / 0.578 GB, free: 11.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3, allocations: 0 / 0.578 GB, free: 11.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004101/0.3004, allocations: 379.1 kB / 0.5783 GB, free: 10.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3004, allocations: 8 kB / 0.5783 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3004, allocations: 8 kB / 0.5783 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.3004, allocations: 8 kB / 0.5784 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.3007, allocations: 123.8 kB / 0.5785 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000297/0.301, allocations: 0.6099 MB / 0.5791 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.3011, allocations: 39.73 kB / 0.5791 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.3012, allocations: 43.98 kB / 0.5791 GB, free: 9.992 MB / 490.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.000115/0.3013, allocations: 141.7 kB / 0.5793 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.3013, allocations: 23.86 kB / 0.5793 GB, free: 9.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.3019, allocations: 455.2 kB / 0.5797 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3019, allocations: 0 / 0.5797 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3019, allocations: 0 / 0.5797 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3019, allocations: 7.938 kB / 0.5797 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.3024, allocations: 0.4927 MB / 0.5802 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3024, allocations: 4.25 kB / 0.5802 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.3028, allocations: 63.95 kB / 0.5803 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3029, allocations: 4 kB / 0.5803 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3029, allocations: 8 kB / 0.5803 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002175/0.3031, allocations: 0.5976 MB / 0.5809 GB, free: 8.113 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3031, allocations: 4.031 kB / 0.5809 GB, free: 8.109 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.3033, allocations: 293.5 kB / 0.5812 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.3034, allocations: 35.81 kB / 0.5812 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.3034, allocations: 16.03 kB / 0.5812 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.3035, allocations: 15.23 kB / 0.5812 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.3036, allocations: 27.84 kB / 0.5813 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.3036, allocations: 15.98 kB / 0.5813 GB, free: 7.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.66e-05/0.3037, allocations: 140.6 kB / 0.5814 GB, free: 7.543 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3037, allocations: 0 / 0.5814 GB, free: 7.543 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005109/0.3042, allocations: 163.7 kB / 0.5816 GB, free: 7.383 MB / 490.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.0004638/0.3046, allocations: 278.7 kB / 0.5818 GB, free: 7.102 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003713/0.305, allocations: 224.9 kB / 0.582 GB, free: 6.883 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.305, allocations: 0 / 0.582 GB, free: 6.883 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3051, allocations: 82.34 kB / 0.5821 GB, free: 6.805 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.3055, allocations: 63.09 kB / 0.5822 GB, free: 6.746 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3068, allocations: 0.8758 MB / 0.583 GB, free: 5.809 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.3069, allocations: 120.5 kB / 0.5832 GB, free: 5.672 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.307, allocations: 88.41 kB / 0.5832 GB, free: 5.586 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.307, allocations: 0 / 0.5832 GB, free: 5.586 MB / 490.7 MB Notification: Performance of Templates: time 0.006669/0.3137, allocations: 5.666 MB / 0.5888 GB, free: 15.93 MB / 0.4948 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",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: 5.581149395555258]