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.002633/0.002633, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003055/0.003055, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 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.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3534/0.3534, allocations: 32.81 MB / 293.9 MB, free: 1.195 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.1.|dddX.2.|dddX.3.|dddX.4.|dddX.5.|dddX.6.|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.1.|dddX.2.|dddX.3.|dddX.4.|dddX.5.|dddX.6.|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.282e-06/1.282e-06, allocations: 0 / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.433e-05, allocations: 2.312 kB / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3454/0.3454, allocations: 146 MB / 0.5091 GB, free: 19.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006808/0.3523, allocations: 6.941 MB / 0.5158 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.3524, allocations: 2.562 kB / 0.5158 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.3528, allocations: 81.08 kB / 0.5159 GB, free: 15.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005763/0.3586, allocations: 2.316 MB / 0.5182 GB, free: 14.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.3589, allocations: 145.1 kB / 0.5183 GB, free: 14.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.3595, allocations: 0.5235 MB / 0.5188 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.3596, allocations: 21.09 kB / 0.5188 GB, free: 13.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000429/0.36, allocations: 314.1 kB / 0.5191 GB, free: 13.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007601/0.3608, allocations: 474.8 kB / 0.5196 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.403e-05/0.3608, allocations: 8.938 kB / 0.5196 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004595/0.3654, allocations: 2.337 MB / 0.5219 GB, free: 12.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.3656, allocations: 178 kB / 0.5221 GB, free: 12.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.3657, allocations: 165.4 kB / 0.5222 GB, free: 12.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.3685, allocations: 1.996 MB / 0.5242 GB, free: 12.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3685, allocations: 5.969 kB / 0.5242 GB, free: 12.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3685, allocations: 0 / 0.5242 GB, free: 12.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.3685, allocations: 0 / 0.5242 GB, free: 12.12 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.002119/0.3707, allocations: 1.017 MB / 0.5252 GB, free: 11.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3707, allocations: 15.78 kB / 0.5252 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003726/0.3744, allocations: 0.6598 MB / 0.5258 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007217/0.3752, allocations: 317 kB / 0.5261 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.3753, allocations: 229.2 kB / 0.5263 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.3754, allocations: 38 kB / 0.5264 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.3766, allocations: 1.083 MB / 0.5274 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3766, allocations: 10.97 kB / 0.5275 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.805e-05/0.3767, allocations: 20.19 kB / 0.5275 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/0.3767, allocations: 48.7 kB / 0.5275 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.3792, allocations: 1.673 MB / 0.5292 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002882/0.3821, allocations: 2.326 MB / 0.5314 GB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.3823, allocations: 104.9 kB / 0.5315 GB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.658e-05/0.3824, allocations: 49.38 kB / 0.5316 GB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003195/0.3856, allocations: 1.484 MB / 0.533 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.3856, allocations: 42.39 kB / 0.5331 GB, free: 7.668 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.3856, allocations: 0 / 0.5331 GB, free: 7.668 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.001023/0.3866, allocations: 312.2 kB / 0.5334 GB, free: 7.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.3867, allocations: 54.22 kB / 0.5334 GB, free: 7.508 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.387, allocations: 482.4 kB / 0.5339 GB, free: 7.199 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.387, allocations: 25.7 kB / 0.5339 GB, free: 7.168 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.3871, allocations: 428.2 kB / 0.5343 GB, free: 6.801 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.3872, allocations: 75.53 kB / 0.5344 GB, free: 6.746 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.3873, allocations: 178.6 kB / 0.5345 GB, free: 6.656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.3874, allocations: 0.5169 MB / 0.535 GB, free: 6.148 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.3876, allocations: 93.16 kB / 0.5351 GB, free: 6.129 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.3879, allocations: 0.7403 MB / 0.5359 GB, free: 5.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.3885, allocations: 0.9047 MB / 0.5367 GB, free: 4.199 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.3885, allocations: 7.25 kB / 0.5368 GB, free: 4.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001087/0.3896, allocations: 0.7184 MB / 0.5375 GB, free: 3.922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3896, allocations: 11.81 kB / 0.5375 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.3896, allocations: 17.06 kB / 0.5375 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/0.3896, allocations: 19.5 kB / 0.5375 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.3901, allocations: 189 kB / 0.5377 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002889/0.3904, allocations: 0.9285 MB / 0.5386 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.3908, allocations: 98.39 kB / 0.5387 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.3908, allocations: 61.39 kB / 0.5387 GB, free: 2.914 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 0.0001279/0.3909, allocations: 224.4 kB / 0.539 GB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.3913, allocations: 90.69 kB / 0.539 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.3916, allocations: 215.6 kB / 0.5392 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3916, allocations: 2.812 kB / 0.5392 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3916, allocations: 0 / 0.5392 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3916, allocations: 3.938 kB / 0.5393 GB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.3922, allocations: 0.5536 MB / 0.5398 GB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3922, allocations: 4.031 kB / 0.5398 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.3923, allocations: 36.72 kB / 0.5398 GB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3923, allocations: 10.56 kB / 0.5398 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3923, allocations: 2.938 kB / 0.5398 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002178/0.3925, allocations: 0.8996 MB / 0.5407 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3925, allocations: 6.875 kB / 0.5407 GB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.3928, allocations: 334.5 kB / 0.541 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.988e-05/0.3928, allocations: 35.3 kB / 0.5411 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.71e-05/0.3929, allocations: 10.41 kB / 0.5411 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.3931, allocations: 10.3 kB / 0.5411 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.3932, allocations: 21.08 kB / 0.5411 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.3932, allocations: 8.406 kB / 0.5411 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001757/0.3934, allocations: 258.8 kB / 0.5414 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3934, allocations: 0 / 0.5414 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001237/0.3946, allocations: 350.7 kB / 0.5417 GB, free: 0.543 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.001372/0.396, allocations: 0.6537 MB / 0.5423 GB, free: 204 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000541/0.3965, allocations: 345.8 kB / 0.5427 GB, free: 44 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3965, allocations: 1 kB / 0.5427 GB, free: 44 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3966, allocations: 63.95 kB / 0.5427 GB, free: 8 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.3972, allocations: 78.22 kB / 0.5428 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.4093, allocations: 6.832 MB / 0.5495 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.4095, allocations: 168.5 kB / 0.5496 GB, free: 9.867 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007456/0.4103, allocations: 230.4 kB / 0.5499 GB, free: 9.648 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.4104, allocations: 52.48 kB / 0.5499 GB, free: 9.598 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/0.4104, allocations: 0 / 0.5499 GB, free: 9.598 MB / 426.7 MB Notification: Performance of Templates: time 0.01887/0.4293, allocations: 9.169 MB / 0.5589 GB, free: 0.5078 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.894909112947062]