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.001109/0.001109, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001039/0.001039, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2656/0.2656, allocations: 34.26 MB / 296 MB, free: 0.7773 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.382e-06/1.382e-06, allocations: 0 / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.623e-05, allocations: 2.312 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.2667/0.2667, allocations: 146.1 MB / 0.5118 GB, free: 17.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004784/0.2715, allocations: 6.939 MB / 0.5186 GB, free: 13.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2716, allocations: 7.094 kB / 0.5186 GB, free: 13.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.2719, allocations: 69.06 kB / 0.5186 GB, free: 13.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.2753, allocations: 2.32 MB / 0.5209 GB, free: 12.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.2755, allocations: 142.4 kB / 0.521 GB, free: 12.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.2759, allocations: 0.5205 MB / 0.5216 GB, free: 11.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.276, allocations: 17.58 kB / 0.5216 GB, free: 11.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.2764, allocations: 318.3 kB / 0.5219 GB, free: 11.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.2769, allocations: 474.6 kB / 0.5223 GB, free: 11.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.2769, allocations: 11.47 kB / 0.5223 GB, free: 11.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.2794, allocations: 2.337 MB / 0.5246 GB, free: 10.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2795, allocations: 177.6 kB / 0.5248 GB, free: 10.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.2796, allocations: 163.9 kB / 0.5249 GB, free: 10.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.2814, allocations: 1.943 MB / 0.5268 GB, free: 10.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2815, allocations: 1.922 kB / 0.5268 GB, free: 10.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2815, allocations: 0 / 0.5268 GB, free: 10.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2815, allocations: 0 / 0.5268 GB, free: 10.06 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.00152/0.283, allocations: 1.015 MB / 0.5278 GB, free: 9.414 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.283, allocations: 11.09 kB / 0.5278 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.2851, allocations: 0.6642 MB / 0.5285 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.2855, allocations: 317.1 kB / 0.5288 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.583e-05/0.2856, allocations: 229.7 kB / 0.529 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/0.2856, allocations: 41.05 kB / 0.5291 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007784/0.2864, allocations: 1.071 MB / 0.5301 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2864, allocations: 0 / 0.5301 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/0.2865, allocations: 17.58 kB / 0.5301 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-05/0.2865, allocations: 62.14 kB / 0.5302 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.2879, allocations: 1.315 MB / 0.5315 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.2897, allocations: 2.258 MB / 0.5337 GB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.2898, allocations: 96.94 kB / 0.5338 GB, free: 6.305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.2899, allocations: 44.03 kB / 0.5338 GB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001634/0.2915, allocations: 1.486 MB / 0.5353 GB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2915, allocations: 43.06 kB / 0.5353 GB, free: 5.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.2915, allocations: 0 / 0.5353 GB, free: 5.68 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.0006924/0.2922, allocations: 291.2 kB / 0.5356 GB, free: 5.594 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.2923, allocations: 58.56 kB / 0.5356 GB, free: 5.527 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.2925, allocations: 468.7 kB / 0.5361 GB, free: 5.223 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2925, allocations: 29.7 kB / 0.5361 GB, free: 5.188 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2926, allocations: 427.6 kB / 0.5365 GB, free: 4.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.2926, allocations: 74.61 kB / 0.5366 GB, free: 4.766 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.2928, allocations: 177.8 kB / 0.5368 GB, free: 4.676 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.2928, allocations: 0.5163 MB / 0.5373 GB, free: 4.168 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/0.2929, allocations: 78.7 kB / 0.5373 GB, free: 4.156 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.2932, allocations: 0.7316 MB / 0.538 GB, free: 3.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.2936, allocations: 0.877 MB / 0.5389 GB, free: 2.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.2936, allocations: 6.875 kB / 0.5389 GB, free: 2.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007714/0.2944, allocations: 0.6907 MB / 0.5396 GB, free: 1.895 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.2944, allocations: 15.94 kB / 0.5396 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.2944, allocations: 14.22 kB / 0.5396 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.2944, allocations: 22.56 kB / 0.5396 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.2947, allocations: 190.7 kB / 0.5398 GB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001889/0.2949, allocations: 0.9267 MB / 0.5407 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.2951, allocations: 98.55 kB / 0.5408 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.2952, allocations: 55.12 kB / 0.5409 GB, free: 0.8516 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.855e-05/0.2953, allocations: 217.2 kB / 0.5411 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.2955, allocations: 100.9 kB / 0.5412 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.2957, allocations: 202.3 kB / 0.5414 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2957, allocations: 2.656 kB / 0.5414 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2957, allocations: 4 kB / 0.5414 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2957, allocations: 3.938 kB / 0.5414 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.2961, allocations: 0.5415 MB / 0.5419 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2961, allocations: 0 / 0.5419 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.2961, allocations: 33.7 kB / 0.5419 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2961, allocations: 6.906 kB / 0.5419 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2961, allocations: 2.656 kB / 0.5419 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000279/0.2964, allocations: 0.8998 MB / 0.5428 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.2964, allocations: 7 kB / 0.5428 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.2966, allocations: 322.2 kB / 0.5431 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.2967, allocations: 34.77 kB / 0.5432 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.2967, allocations: 10.58 kB / 0.5432 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.2968, allocations: 9.156 kB / 0.5432 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.2969, allocations: 25.58 kB / 0.5432 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2969, allocations: 12.7 kB / 0.5432 GB, free: 14.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001499/0.297, allocations: 251.7 kB / 0.5435 GB, free: 14.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.297, allocations: 4.062 kB / 0.5435 GB, free: 14.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007831/0.2978, allocations: 350.4 kB / 0.5438 GB, free: 14.4 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.0009898/0.2988, allocations: 0.6482 MB / 0.5444 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003788/0.2992, allocations: 337.6 kB / 0.5448 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2992, allocations: 0 / 0.5448 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.956e-05/0.2992, allocations: 48.39 kB / 0.5448 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.2996, allocations: 78.36 kB / 0.5449 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0071/0.3067, allocations: 6.833 MB / 0.5516 GB, free: 7.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.31e-05/0.3067, allocations: 105.3 kB / 0.5517 GB, free: 7.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003565/0.3071, allocations: 229.3 kB / 0.5519 GB, free: 7.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.3072, allocations: 52.48 kB / 0.5519 GB, free: 7.164 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3072, allocations: 0 / 0.5519 GB, free: 7.164 MB / 426.7 MB Notification: Performance of Templates: time 0.01077/0.3179, allocations: 9.145 MB / 0.5609 GB, free: 14.09 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.9192805162165314]