Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001081/0.001081, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001489/0.001489, allocations: 166.2 kB / 24.99 MB, free: 8.336 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 1.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.8 MB / 294.6 MB, free: 1.293 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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.112e-05, allocations: 9.906 kB / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3029/0.303, allocations: 146.1 MB / 0.5098 GB, free: 20 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005136/0.3081, allocations: 6.948 MB / 0.5166 GB, free: 15.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.3082, allocations: 3.094 kB / 0.5166 GB, free: 15.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.3086, allocations: 73.2 kB / 0.5167 GB, free: 15.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.3121, allocations: 2.312 MB / 0.5189 GB, free: 14.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.3123, allocations: 141.7 kB / 0.5191 GB, free: 14.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.3128, allocations: 0.5274 MB / 0.5196 GB, free: 13.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.3129, allocations: 14.91 kB / 0.5196 GB, free: 13.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.3133, allocations: 322.5 kB / 0.5199 GB, free: 13.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005246/0.3138, allocations: 474.7 kB / 0.5204 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.3138, allocations: 15.47 kB / 0.5204 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.3163, allocations: 2.329 MB / 0.5226 GB, free: 12.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.3164, allocations: 178.6 kB / 0.5228 GB, free: 12.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3165, allocations: 154.3 kB / 0.523 GB, free: 12.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.3183, allocations: 1.949 MB / 0.5249 GB, free: 12.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3183, allocations: 4 kB / 0.5249 GB, free: 12.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3183, allocations: 0 / 0.5249 GB, free: 12.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3183, allocations: 0 / 0.5249 GB, free: 12.16 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001447/0.3198, allocations: 1.021 MB / 0.5259 GB, free: 11.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3198, allocations: 15.28 kB / 0.5259 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.322, allocations: 0.6569 MB / 0.5265 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.3223, allocations: 313.9 kB / 0.5268 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/0.3224, allocations: 236.1 kB / 0.5271 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-05/0.3224, allocations: 37.78 kB / 0.5271 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/0.3232, allocations: 1.072 MB / 0.5281 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3232, allocations: 4 kB / 0.5281 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.454e-05/0.3233, allocations: 15.67 kB / 0.5282 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-05/0.3233, allocations: 53.61 kB / 0.5282 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.3246, allocations: 1.317 MB / 0.5295 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.3263, allocations: 2.265 MB / 0.5317 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.3265, allocations: 89.66 kB / 0.5318 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.3265, allocations: 49.95 kB / 0.5318 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/0.328, allocations: 1.485 MB / 0.5333 GB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.3281, allocations: 36.83 kB / 0.5333 GB, free: 7.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.3281, allocations: 0 / 0.5333 GB, free: 7.77 MB / 410.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=16): time 0.0006414/0.3287, allocations: 295 kB / 0.5336 GB, free: 7.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.3287, allocations: 54.53 kB / 0.5337 GB, free: 7.617 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.3289, allocations: 470.4 kB / 0.5341 GB, free: 7.309 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.329, allocations: 29.7 kB / 0.5341 GB, free: 7.273 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3291, allocations: 425.6 kB / 0.5345 GB, free: 6.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.3291, allocations: 74.09 kB / 0.5346 GB, free: 6.855 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.3292, allocations: 177.9 kB / 0.5348 GB, free: 6.766 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.3293, allocations: 0.5173 MB / 0.5353 GB, free: 6.258 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.161e-05/0.3294, allocations: 77.52 kB / 0.5354 GB, free: 6.246 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.3296, allocations: 0.7306 MB / 0.5361 GB, free: 5.348 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.33, allocations: 0.8769 MB / 0.5369 GB, free: 4.344 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.33, allocations: 13.72 kB / 0.5369 GB, free: 4.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007565/0.3308, allocations: 0.6844 MB / 0.5376 GB, free: 4.082 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3308, allocations: 11.56 kB / 0.5376 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.3308, allocations: 19.23 kB / 0.5376 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.3308, allocations: 20.12 kB / 0.5377 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.3311, allocations: 187.4 kB / 0.5378 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001987/0.3313, allocations: 0.9321 MB / 0.5387 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.3316, allocations: 98.27 kB / 0.5388 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.3316, allocations: 58.25 kB / 0.5389 GB, free: 3.07 MB / 410.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 9.585e-05/0.3317, allocations: 214.4 kB / 0.5391 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.3319, allocations: 97.72 kB / 0.5392 GB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.3321, allocations: 199.4 kB / 0.5394 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3321, allocations: 2.875 kB / 0.5394 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3321, allocations: 0 / 0.5394 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3321, allocations: 6.516 kB / 0.5394 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.3325, allocations: 0.5399 MB / 0.5399 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3325, allocations: 6.5 kB / 0.5399 GB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.023e-05/0.3326, allocations: 30.44 kB / 0.54 GB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3326, allocations: 3.938 kB / 0.54 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3326, allocations: 2.906 kB / 0.54 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001308/0.3327, allocations: 0.9032 MB / 0.5408 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3327, allocations: 0 / 0.5408 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.3329, allocations: 329.8 kB / 0.5412 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.3329, allocations: 36.02 kB / 0.5412 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.3329, allocations: 10.94 kB / 0.5412 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3331, allocations: 12.61 kB / 0.5412 GB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.3331, allocations: 22.02 kB / 0.5412 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3331, allocations: 11.73 kB / 0.5412 GB, free: 1.008 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.3332, allocations: 254 kB / 0.5415 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3332, allocations: 0 / 0.5415 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007633/0.334, allocations: 350.7 kB / 0.5418 GB, free: 0.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 12 * 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.0009597/0.3349, allocations: 0.6508 MB / 0.5425 GB, free: 420 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.3353, allocations: 315.9 kB / 0.5428 GB, free: 276 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3353, allocations: 2.562 kB / 0.5428 GB, free: 276 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.907e-05/0.3353, allocations: 64.44 kB / 0.5428 GB, free: 236 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.3357, allocations: 71.97 kB / 0.5429 GB, free: 200 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00709/0.3428, allocations: 6.839 MB / 0.5496 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.462e-05/0.3428, allocations: 105.3 kB / 0.5497 GB, free: 10.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003531/0.3432, allocations: 238.5 kB / 0.5499 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.3432, allocations: 48.48 kB / 0.5499 GB, free: 10.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3432, allocations: 0 / 0.5499 GB, free: 10.37 MB / 426.7 MB Notification: Performance of Templates: time 0.01085/0.3541, allocations: 9.149 MB / 0.5589 GB, free: 1.289 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.013966517988592]