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.001389/0.001389, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001015/0.001015, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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.896/0.896, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1469/0.1469, allocations: 32.38 MB / 270.4 MB, free: 14.7 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 2.395e-06/2.395e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.384e-05/3.624e-05, allocations: 6.25 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.34/0.34, allocations: 144.7 MB / 492.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004986/0.345, allocations: 6.367 MB / 498.8 MB, free: 7.609 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.3452, allocations: 2.438 kB / 498.8 MB, free: 7.609 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.3456, allocations: 76.95 kB / 498.8 MB, free: 7.555 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005953/0.3516, allocations: 2.569 MB / 0.4896 GB, free: 6.027 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.3519, allocations: 151.6 kB / 0.4898 GB, free: 5.953 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007534/0.3526, allocations: 0.5272 MB / 0.4903 GB, free: 5.734 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.973e-05/0.3527, allocations: 10.25 kB / 0.4903 GB, free: 5.734 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004888/0.3532, allocations: 303.8 kB / 0.4906 GB, free: 5.613 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007589/0.3539, allocations: 457.3 kB / 0.491 GB, free: 5.438 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.354, allocations: 10.97 kB / 0.4911 GB, free: 5.438 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005126/0.3591, allocations: 2.594 MB / 0.4936 GB, free: 4.344 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.3593, allocations: 180.4 kB / 0.4938 GB, free: 4.277 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.3595, allocations: 158.6 kB / 0.4939 GB, free: 4.242 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.3637, allocations: 2.136 MB / 0.496 GB, free: 3.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3637, allocations: 0 / 0.496 GB, free: 3.191 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3637, allocations: 0 / 0.496 GB, free: 3.191 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.3637, allocations: 3.984 kB / 0.496 GB, free: 3.188 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.001947/0.3657, allocations: 0.9681 MB / 0.4969 GB, free: 2.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3657, allocations: 8.406 kB / 0.497 GB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/0.3684, allocations: 0.6405 MB / 0.4976 GB, free: 2.129 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.369, allocations: 311.8 kB / 0.4979 GB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.3691, allocations: 239.9 kB / 0.4981 GB, free: 1.621 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.3692, allocations: 37.94 kB / 0.4981 GB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3702, allocations: 1.069 MB / 0.4992 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3703, allocations: 0 / 0.4992 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.719e-05/0.3703, allocations: 12 kB / 0.4992 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.976e-05/0.3704, allocations: 64.89 kB / 0.4993 GB, free: 476 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.3724, allocations: 1.317 MB / 0.5005 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.3751, allocations: 2.263 MB / 0.5028 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.3753, allocations: 111 kB / 0.5029 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.3754, allocations: 55.09 kB / 0.5029 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002209/0.3776, allocations: 1.425 MB / 0.5043 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3776, allocations: 37.33 kB / 0.5043 GB, free: 11.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.214e-06/0.3776, allocations: 0 / 0.5043 GB, free: 11.13 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.0009818/0.3786, allocations: 357.7 kB / 0.5047 GB, free: 10.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.3786, allocations: 55.41 kB / 0.5047 GB, free: 10.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.379, allocations: 437.7 kB / 0.5051 GB, free: 10.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3791, allocations: 29.7 kB / 0.5052 GB, free: 10.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.3793, allocations: 413.6 kB / 0.5056 GB, free: 9.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.3793, allocations: 87.31 kB / 0.5057 GB, free: 9.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.3795, allocations: 172.2 kB / 0.5058 GB, free: 9.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3796, allocations: 0.5196 MB / 0.5063 GB, free: 9.023 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3797, allocations: 77.94 kB / 0.5064 GB, free: 8.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.3802, allocations: 0.7285 MB / 0.5071 GB, free: 7.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007356/0.3809, allocations: 0.8854 MB / 0.508 GB, free: 6.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.3809, allocations: 4 kB / 0.508 GB, free: 6.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001105/0.382, allocations: 0.6922 MB / 0.5087 GB, free: 6.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.3821, allocations: 14.5 kB / 0.5087 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.3821, allocations: 16.84 kB / 0.5087 GB, free: 6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.203e-05/0.3821, allocations: 24 kB / 0.5087 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.3825, allocations: 187.7 kB / 0.5089 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004178/0.3829, allocations: 0.9283 MB / 0.5098 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.3833, allocations: 91.3 kB / 0.5099 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/0.3834, allocations: 59.98 kB / 0.5099 GB, free: 4.688 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.0001614/0.3836, allocations: 212.2 kB / 0.5101 GB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.3839, allocations: 103.6 kB / 0.5102 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.3843, allocations: 273.9 kB / 0.5105 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3843, allocations: 0 / 0.5105 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3843, allocations: 4 kB / 0.5105 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3843, allocations: 3.984 kB / 0.5105 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007628/0.3851, allocations: 0.668 MB / 0.5112 GB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.3851, allocations: 4 kB / 0.5112 GB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.3852, allocations: 39.97 kB / 0.5112 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.3852, allocations: 11.97 kB / 0.5112 GB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.3852, allocations: 8 kB / 0.5112 GB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003964/0.3856, allocations: 0.9013 MB / 0.5121 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.3856, allocations: 11.69 kB / 0.5121 GB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.386, allocations: 376.7 kB / 0.5125 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.3861, allocations: 39.8 kB / 0.5125 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.3861, allocations: 11.94 kB / 0.5125 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.3863, allocations: 15.94 kB / 0.5125 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3863, allocations: 23.91 kB / 0.5126 GB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.3864, allocations: 12 kB / 0.5126 GB, free: 1.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002071/0.3866, allocations: 239 kB / 0.5128 GB, free: 1.559 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3866, allocations: 4 kB / 0.5128 GB, free: 1.555 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001934/0.3885, allocations: 403 kB / 0.5132 GB, free: 1.16 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.001792/0.3903, allocations: 0.7767 MB / 0.5139 GB, free: 392 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006017/0.3909, allocations: 326.8 kB / 0.5143 GB, free: 68 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3909, allocations: 0 / 0.5143 GB, free: 68 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.391, allocations: 73.3 kB / 0.5143 GB, free: 15.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.3916, allocations: 103.6 kB / 0.5144 GB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007452/0.399, allocations: 5.521 MB / 0.5198 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.814e-05/0.3991, allocations: 105.3 kB / 0.5199 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004399/0.3996, allocations: 155.3 kB / 0.5201 GB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.3997, allocations: 48.48 kB / 0.5201 GB, free: 9.984 MB / 394.7 MB Notification: Performance of SimCode: time 1.723e-06/0.3997, allocations: 0 / 0.5201 GB, free: 9.984 MB / 394.7 MB Notification: Performance of Templates: time 0.01818/0.4179, allocations: 10.96 MB / 0.5308 GB, free: 15.09 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.025946423877031]