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.001043/0.001043, allocations: 82.64 kB / 21.42 MB, free: 3.074 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.00463/0.00463, allocations: 172.1 kB / 24.82 MB, free: 8.773 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 0.9562/0.9562, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.3197/0.3197, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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 2.175e-06/2.175e-06, allocations: 0 / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.278e-05/4.496e-05, allocations: 2.312 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3918/0.3918, allocations: 143.6 MB / 0.5099 GB, free: 19.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006798/0.3986, allocations: 6.872 MB / 0.5166 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.3989, allocations: 6.875 kB / 0.5166 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.3993, allocations: 77.52 kB / 0.5167 GB, free: 14.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005807/0.4051, allocations: 2.312 MB / 0.5189 GB, free: 13.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.4054, allocations: 149.6 kB / 0.5191 GB, free: 13.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009125/0.4063, allocations: 0.5284 MB / 0.5196 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.225e-05/0.4064, allocations: 10.22 kB / 0.5196 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007918/0.4072, allocations: 320.7 kB / 0.5199 GB, free: 12.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008222/0.408, allocations: 471.7 kB / 0.5203 GB, free: 12.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.4081, allocations: 16.12 kB / 0.5204 GB, free: 12.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005157/0.4133, allocations: 2.336 MB / 0.5226 GB, free: 11.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.4134, allocations: 177.7 kB / 0.5228 GB, free: 11.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.4136, allocations: 163 kB / 0.523 GB, free: 11.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004464/0.4181, allocations: 1.949 MB / 0.5249 GB, free: 11.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4181, allocations: 0 / 0.5249 GB, free: 11.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4181, allocations: 0 / 0.5249 GB, free: 11.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.4181, allocations: 0 / 0.5249 GB, free: 11.23 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.002156/0.4203, allocations: 1.025 MB / 0.5259 GB, free: 10.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.4203, allocations: 8.25 kB / 0.5259 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.4223, allocations: 0.5854 MB / 0.5265 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.4229, allocations: 303.7 kB / 0.5267 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.423, allocations: 230.9 kB / 0.527 GB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.871e-05/0.4231, allocations: 36.5 kB / 0.527 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008757/0.424, allocations: 1.016 MB / 0.528 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.424, allocations: 0 / 0.528 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/0.4241, allocations: 21.17 kB / 0.528 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.054e-05/0.4241, allocations: 57.36 kB / 0.5281 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.4254, allocations: 1.174 MB / 0.5292 GB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.4276, allocations: 2.197 MB / 0.5314 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.4277, allocations: 88.34 kB / 0.5314 GB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.4278, allocations: 42.31 kB / 0.5315 GB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001965/0.4297, allocations: 1.492 MB / 0.5329 GB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.4297, allocations: 44.7 kB / 0.533 GB, free: 6.938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.4297, allocations: 0 / 0.533 GB, free: 6.938 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.0006786/0.4304, allocations: 278.2 kB / 0.5332 GB, free: 6.859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.4304, allocations: 53.69 kB / 0.5333 GB, free: 6.797 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.4307, allocations: 465 kB / 0.5337 GB, free: 6.488 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.4307, allocations: 37.64 kB / 0.5338 GB, free: 6.445 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.4309, allocations: 429.5 kB / 0.5342 GB, free: 6.078 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.4309, allocations: 69.14 kB / 0.5343 GB, free: 6.027 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.4311, allocations: 182.2 kB / 0.5344 GB, free: 5.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.4312, allocations: 0.5204 MB / 0.5349 GB, free: 5.422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.33e-05/0.4312, allocations: 70.03 kB / 0.535 GB, free: 5.418 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.4315, allocations: 0.7211 MB / 0.5357 GB, free: 4.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.432, allocations: 0.8558 MB / 0.5365 GB, free: 3.527 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.4321, allocations: 5.656 kB / 0.5365 GB, free: 3.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008394/0.4329, allocations: 0.6626 MB / 0.5372 GB, free: 3.277 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.4329, allocations: 16.17 kB / 0.5372 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.433, allocations: 16.22 kB / 0.5372 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.433, allocations: 19.31 kB / 0.5372 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.4333, allocations: 182.1 kB / 0.5374 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002619/0.4335, allocations: 0.9292 MB / 0.5383 GB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.4338, allocations: 93.7 kB / 0.5384 GB, free: 2.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.4339, allocations: 57.7 kB / 0.5385 GB, free: 2.273 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.0001577/0.4341, allocations: 217.3 kB / 0.5387 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.4343, allocations: 94.11 kB / 0.5388 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.4345, allocations: 203.8 kB / 0.539 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4345, allocations: 0 / 0.539 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4345, allocations: 6.984 kB / 0.539 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.4346, allocations: 0 / 0.539 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.435, allocations: 488.1 kB / 0.5394 GB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.435, allocations: 3.984 kB / 0.5394 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.435, allocations: 32.7 kB / 0.5395 GB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.435, allocations: 2.562 kB / 0.5395 GB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.435, allocations: 11.03 kB / 0.5395 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001602/0.4352, allocations: 0.8952 MB / 0.5404 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4352, allocations: 5.969 kB / 0.5404 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.4354, allocations: 317.7 kB / 0.5407 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.4354, allocations: 34.86 kB / 0.5407 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.4355, allocations: 9.375 kB / 0.5407 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4356, allocations: 9.859 kB / 0.5407 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.4356, allocations: 21.58 kB / 0.5407 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.4356, allocations: 16.52 kB / 0.5408 GB, free: 148 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.4358, allocations: 239.4 kB / 0.541 GB, free: 15.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4358, allocations: 2.75 kB / 0.541 GB, free: 15.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001242/0.437, allocations: 349.4 kB / 0.5413 GB, free: 15.89 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.001417/0.4384, allocations: 0.6599 MB / 0.542 GB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004718/0.4389, allocations: 310.5 kB / 0.5423 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4389, allocations: 0 / 0.5423 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.747e-05/0.439, allocations: 47.3 kB / 0.5423 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.4393, allocations: 77.58 kB / 0.5424 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007668/0.447, allocations: 6.964 MB / 0.5492 GB, free: 9.543 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.069e-05/0.4471, allocations: 101.3 kB / 0.5493 GB, free: 9.422 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003957/0.4475, allocations: 180.8 kB / 0.5494 GB, free: 9.246 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.4477, allocations: 182.1 kB / 0.5496 GB, free: 9.066 MB / 426.7 MB Notification: Performance of SimCode: time 2.956e-06/0.4477, allocations: 0 / 0.5496 GB, free: 9.066 MB / 426.7 MB Notification: Performance of Templates: time 0.01653/0.4642, allocations: 11.13 MB / 0.5605 GB, free: 13.98 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: 4.20470382925123]