Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001161/0.001161, allocations: 83.58 kB / 21.19 MB, free: 3.387 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.0009558/0.0009558, allocations: 161 kB / 24.56 MB, free: 20 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 0.9101/0.9101, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2489/0.2489, allocations: 34.26 MB / 295.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 3.938 kB / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.564e-05, allocations: 6.312 kB / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3175/0.3175, allocations: 146.3 MB / 0.5121 GB, free: 17.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005329/0.3229, allocations: 6.957 MB / 0.5189 GB, free: 13.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.323, allocations: 3.188 kB / 0.5189 GB, free: 13.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.3234, allocations: 71.91 kB / 0.519 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004579/0.328, allocations: 2.315 MB / 0.5212 GB, free: 11.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.3282, allocations: 143.7 kB / 0.5214 GB, free: 11.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.3288, allocations: 0.5245 MB / 0.5219 GB, free: 11.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.3288, allocations: 15.2 kB / 0.5219 GB, free: 11.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004751/0.3293, allocations: 321.1 kB / 0.5222 GB, free: 11.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007552/0.3301, allocations: 475.7 kB / 0.5226 GB, free: 11.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.061e-05/0.3301, allocations: 11.81 kB / 0.5226 GB, free: 11.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003795/0.3339, allocations: 2.332 MB / 0.5249 GB, free: 10.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.334, allocations: 182.2 kB / 0.5251 GB, free: 10.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.3342, allocations: 157.2 kB / 0.5252 GB, free: 10.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003299/0.3375, allocations: 1.948 MB / 0.5272 GB, free: 9.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3375, allocations: 0 / 0.5272 GB, free: 9.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3375, allocations: 0 / 0.5272 GB, free: 9.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3375, allocations: 0 / 0.5272 GB, free: 9.785 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.002146/0.3397, allocations: 1.018 MB / 0.5281 GB, free: 9.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3397, allocations: 8.781 kB / 0.5282 GB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/0.3427, allocations: 0.6646 MB / 0.5288 GB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005285/0.3432, allocations: 311.7 kB / 0.5291 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.3434, allocations: 235.8 kB / 0.5293 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.3435, allocations: 37.22 kB / 0.5294 GB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3445, allocations: 1.077 MB / 0.5304 GB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3445, allocations: 2.844 kB / 0.5304 GB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/0.3446, allocations: 11 kB / 0.5304 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-05/0.3447, allocations: 58.11 kB / 0.5305 GB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.3466, allocations: 1.322 MB / 0.5318 GB, free: 7.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.349, allocations: 2.257 MB / 0.534 GB, free: 6.078 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.3491, allocations: 92.5 kB / 0.5341 GB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.491e-05/0.3492, allocations: 48.23 kB / 0.5341 GB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002134/0.3513, allocations: 1.485 MB / 0.5356 GB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.3514, allocations: 36.77 kB / 0.5356 GB, free: 5.406 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.855e-06/0.3514, allocations: 7.984 kB / 0.5356 GB, free: 5.398 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.0008653/0.3522, allocations: 289.2 kB / 0.5359 GB, free: 5.316 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.3523, allocations: 54 kB / 0.5359 GB, free: 5.254 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.3525, allocations: 466.5 kB / 0.5364 GB, free: 4.949 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.3526, allocations: 36.83 kB / 0.5364 GB, free: 4.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.3527, allocations: 421.5 kB / 0.5368 GB, free: 4.547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.3527, allocations: 78.08 kB / 0.5369 GB, free: 4.488 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.3529, allocations: 174.2 kB / 0.5371 GB, free: 4.402 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.353, allocations: 0.5235 MB / 0.5376 GB, free: 3.891 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.3531, allocations: 75.08 kB / 0.5376 GB, free: 3.879 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.3534, allocations: 0.7297 MB / 0.5383 GB, free: 2.984 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.354, allocations: 0.8768 MB / 0.5392 GB, free: 1.961 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.354, allocations: 9.719 kB / 0.5392 GB, free: 1.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001058/0.355, allocations: 0.6944 MB / 0.5399 GB, free: 1.617 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3551, allocations: 11.41 kB / 0.5399 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.3551, allocations: 21.36 kB / 0.5399 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/0.3551, allocations: 20.12 kB / 0.5399 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.3555, allocations: 186.9 kB / 0.5401 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002247/0.3557, allocations: 0.9268 MB / 0.541 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.3561, allocations: 94.86 kB / 0.5411 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.064e-05/0.3562, allocations: 59.56 kB / 0.5412 GB, free: 0.5781 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.0001253/0.3563, allocations: 225.3 kB / 0.5414 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.3566, allocations: 93.14 kB / 0.5415 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.3569, allocations: 201.5 kB / 0.5417 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3569, allocations: 4 kB / 0.5417 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3569, allocations: 0 / 0.5417 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3569, allocations: 6.781 kB / 0.5417 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.3575, allocations: 0.5385 MB / 0.5422 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3575, allocations: 0 / 0.5422 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.358e-05/0.3576, allocations: 37.86 kB / 0.5422 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.3576, allocations: 6.75 kB / 0.5422 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.3576, allocations: 3.188 kB / 0.5423 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003278/0.3579, allocations: 0.8995 MB / 0.5431 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3579, allocations: 3.781 kB / 0.5431 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.3582, allocations: 321 kB / 0.5434 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.3582, allocations: 39.38 kB / 0.5435 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.3583, allocations: 7.031 kB / 0.5435 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.3585, allocations: 8.578 kB / 0.5435 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.3585, allocations: 28.91 kB / 0.5435 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3585, allocations: 12.19 kB / 0.5435 GB, free: 14.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001913/0.3587, allocations: 252 kB / 0.5438 GB, free: 14.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3587, allocations: 0 / 0.5438 GB, free: 14.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001246/0.3599, allocations: 351.9 kB / 0.5441 GB, free: 14.14 MB / 426.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.001313/0.3613, allocations: 0.652 MB / 0.5447 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004935/0.3617, allocations: 320.5 kB / 0.545 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3617, allocations: 2.531 kB / 0.5451 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/0.3618, allocations: 55.03 kB / 0.5451 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.3623, allocations: 71.91 kB / 0.5452 GB, free: 13.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009981/0.3723, allocations: 6.962 MB / 0.552 GB, free: 6.949 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.319e-05/0.3724, allocations: 105.3 kB / 0.5521 GB, free: 6.824 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005363/0.3729, allocations: 234.7 kB / 0.5523 GB, free: 6.605 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.373, allocations: 48.48 kB / 0.5523 GB, free: 6.559 MB / 426.7 MB Notification: Performance of SimCode: time 1.413e-06/0.373, allocations: 0 / 0.5523 GB, free: 6.559 MB / 426.7 MB Notification: Performance of Templates: time 0.01472/0.3877, allocations: 9.153 MB / 0.5613 GB, free: 13.48 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.931651771068573]