Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.001271/0.001271, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001176/0.001176, allocations: 173 kB / 24.05 MB, free: 456 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.8926/0.8926, allocations: 158.6 MB / 185.9 MB, free: 2.805 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.1561/0.1561, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") translateModel(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.039e-05, allocations: 6.25 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3037/0.3037, allocations: 142 MB / 490.1 MB, free: 9.988 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005325/0.309, allocations: 6.277 MB / 496.4 MB, free: 8.797 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.3092, allocations: 7.938 kB / 496.4 MB, free: 8.789 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004697/0.3097, allocations: 73.27 kB / 496.4 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006677/0.3164, allocations: 2.565 MB / 499 MB, free: 7.547 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.3167, allocations: 146 kB / 499.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006658/0.3173, allocations: 0.5344 MB / 499.7 MB, free: 7.316 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.3174, allocations: 10.34 kB / 499.7 MB, free: 7.316 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.3178, allocations: 301.4 kB / 500 MB, free: 7.211 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00073/0.3186, allocations: 466.3 kB / 0.4887 GB, free: 7.062 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.3186, allocations: 10.66 kB / 0.4887 GB, free: 7.062 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004832/0.3235, allocations: 2.595 MB / 0.4913 GB, free: 6.207 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.3236, allocations: 176.8 kB / 0.4914 GB, free: 6.145 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.3237, allocations: 159.7 kB / 0.4916 GB, free: 6.109 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003815/0.3276, allocations: 2.141 MB / 0.4937 GB, free: 5.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3276, allocations: 0 / 0.4937 GB, free: 5.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3276, allocations: 2.406 kB / 0.4937 GB, free: 5.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.3276, allocations: 0 / 0.4937 GB, free: 5.27 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001729/0.3293, allocations: 0.9721 MB / 0.4946 GB, free: 4.523 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3293, allocations: 10.88 kB / 0.4946 GB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/0.3317, allocations: 0.5667 MB / 0.4952 GB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/0.3321, allocations: 308 kB / 0.4955 GB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-05/0.3322, allocations: 227.9 kB / 0.4957 GB, free: 3.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.493e-05/0.3323, allocations: 36.38 kB / 0.4957 GB, free: 3.625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.3331, allocations: 1.008 MB / 0.4967 GB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3331, allocations: 4 kB / 0.4967 GB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.3332, allocations: 12 kB / 0.4967 GB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/0.3333, allocations: 52.97 kB / 0.4968 GB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.3348, allocations: 1.176 MB / 0.4979 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.337, allocations: 2.212 MB / 0.5001 GB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.3372, allocations: 100.3 kB / 0.5002 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.276e-05/0.3373, allocations: 51.97 kB / 0.5002 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002219/0.3395, allocations: 1.427 MB / 0.5016 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3395, allocations: 53.39 kB / 0.5017 GB, free: 13.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.305e-06/0.3395, allocations: 4 kB / 0.5017 GB, free: 13.32 MB / 378.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=22): time 0.000828/0.3403, allocations: 329.6 kB / 0.502 GB, free: 12.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.3404, allocations: 55.41 kB / 0.5021 GB, free: 12.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.3407, allocations: 437.5 kB / 0.5025 GB, free: 12.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3407, allocations: 29.7 kB / 0.5025 GB, free: 12.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.3409, allocations: 409.7 kB / 0.5029 GB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.848e-05/0.341, allocations: 95.23 kB / 0.503 GB, free: 11.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.3411, allocations: 168.1 kB / 0.5031 GB, free: 11.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3413, allocations: 0.5273 MB / 0.5037 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.3414, allocations: 65.88 kB / 0.5037 GB, free: 11.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.3418, allocations: 0.7206 MB / 0.5044 GB, free: 10.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/0.3425, allocations: 0.8734 MB / 0.5053 GB, free: 8.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.3425, allocations: 4 kB / 0.5053 GB, free: 8.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001001/0.3435, allocations: 0.6499 MB / 0.5059 GB, free: 8.309 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.3435, allocations: 14.5 kB / 0.5059 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.3436, allocations: 16 kB / 0.5059 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/0.3436, allocations: 24 kB / 0.506 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.344, allocations: 183.7 kB / 0.5061 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003793/0.3443, allocations: 0.9283 MB / 0.507 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.3447, allocations: 91.3 kB / 0.5071 GB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.3447, allocations: 55.98 kB / 0.5072 GB, free: 6.977 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * 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.0001563/0.3449, allocations: 224.4 kB / 0.5074 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/0.3452, allocations: 95.69 kB / 0.5075 GB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003878/0.3456, allocations: 263.1 kB / 0.5077 GB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3456, allocations: 7.938 kB / 0.5078 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.3456, allocations: 0 / 0.5078 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3456, allocations: 3.984 kB / 0.5078 GB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006496/0.3462, allocations: 0.61 MB / 0.5084 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3462, allocations: 4.266 kB / 0.5084 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3463, allocations: 43.92 kB / 0.5084 GB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.3463, allocations: 4 kB / 0.5084 GB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3463, allocations: 8 kB / 0.5084 GB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002942/0.3466, allocations: 0.8971 MB / 0.5093 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3466, allocations: 4 kB / 0.5093 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.3469, allocations: 372.6 kB / 0.5096 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.347, allocations: 43.72 kB / 0.5097 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.347, allocations: 11.95 kB / 0.5097 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.3472, allocations: 16.05 kB / 0.5097 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.3472, allocations: 19.86 kB / 0.5097 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.3472, allocations: 19.98 kB / 0.5097 GB, free: 4.156 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.3474, allocations: 230.9 kB / 0.51 GB, free: 3.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3474, allocations: 0 / 0.51 GB, free: 3.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001275/0.3487, allocations: 399.1 kB / 0.5104 GB, free: 3.539 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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.0016/0.3503, allocations: 0.7949 MB / 0.5111 GB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000433/0.3507, allocations: 319.2 kB / 0.5114 GB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.3507, allocations: 0 / 0.5114 GB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.638e-05/0.3508, allocations: 69.09 kB / 0.5115 GB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.3513, allocations: 93.28 kB / 0.5116 GB, free: 2.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006474/0.3578, allocations: 5.513 MB / 0.517 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.464e-05/0.3578, allocations: 109.3 kB / 0.5171 GB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002944/0.3581, allocations: 103.3 kB / 0.5172 GB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.3584, allocations: 186.1 kB / 0.5174 GB, free: 12.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3584, allocations: 0 / 0.5174 GB, free: 12.29 MB / 394.7 MB Notification: Performance of Templates: time 0.01814/0.3765, allocations: 13.39 MB / 0.5304 GB, free: 14.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.126207306981087]