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.001284/0.001284, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001695/0.002979, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001019/0.001019, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.00232, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.033/1.033, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1168/1.15, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.3127/0.3127, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0303/0.343, allocations: 12.52 MB / 289.3 MB, free: 8.68 MB / 282.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.[0-9,]+.|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.[0-9,]+.|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.723e-06/1.723e-06, allocations: 3.938 kB / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.52e-05, allocations: 5.125 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1621/0.1621, allocations: 146.2 MB / 436.8 MB, free: 5.578 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2689/0.431, allocations: 6.975 MB / 443.7 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.4312, allocations: 2.062 kB / 443.8 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.4316, allocations: 76.27 kB / 443.8 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005479/0.4371, allocations: 2.227 MB / 446.1 MB, free: 3.574 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.4373, allocations: 146 kB / 446.2 MB, free: 3.57 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006887/0.438, allocations: 0.5334 MB / 446.7 MB, free: 3.57 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.438, allocations: 14.88 kB / 446.7 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005539/0.4386, allocations: 328.2 kB / 447.1 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007168/0.4393, allocations: 433.3 kB / 447.5 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.387e-05/0.4394, allocations: 12.38 kB / 447.5 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/0.4432, allocations: 2.384 MB / 449.9 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.4433, allocations: 155.1 kB / 450 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.4434, allocations: 129.8 kB / 450.2 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.4455, allocations: 1.685 MB / 451.8 MB, free: 3.434 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.826e-05/0.4455, allocations: 2.812 kB / 451.8 MB, free: 3.434 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4455, allocations: 0 / 451.8 MB, free: 3.434 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.4455, allocations: 1.156 kB / 451.9 MB, free: 3.434 MB / 426.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.002044/0.4476, allocations: 1.2 MB / 453.1 MB, free: 18.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.4476, allocations: 13.06 kB / 453.1 MB, free: 18.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.4494, allocations: 0.6271 MB / 453.7 MB, free: 18.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.4498, allocations: 272.3 kB / 454 MB, free: 18.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.4499, allocations: 234.4 kB / 454.2 MB, free: 18.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.45, allocations: 37.22 kB / 454.2 MB, free: 18.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/0.4508, allocations: 0.9518 MB / 455.2 MB, free: 17.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4508, allocations: 0 / 455.2 MB, free: 17.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-05/0.4508, allocations: 15.27 kB / 455.2 MB, free: 17.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/0.4509, allocations: 59.86 kB / 455.2 MB, free: 17.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.452, allocations: 0.9058 MB / 456.2 MB, free: 17.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.4538, allocations: 1.749 MB / 457.9 MB, free: 17.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.4539, allocations: 70.34 kB / 458 MB, free: 17.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.4539, allocations: 35.41 kB / 458 MB, free: 17.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/0.4555, allocations: 1.391 MB / 459.4 MB, free: 16.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.4555, allocations: 32.66 kB / 459.4 MB, free: 16.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.4555, allocations: 0.5312 kB / 459.4 MB, free: 16.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005112/0.456, allocations: 246.5 kB / 459.7 MB, free: 16.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.456, allocations: 54.62 kB / 459.7 MB, free: 16.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.4562, allocations: 364.6 kB / 460.1 MB, free: 16.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.4562, allocations: 26.36 kB / 460.1 MB, free: 16.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.4564, allocations: 376.6 kB / 460.5 MB, free: 16.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.4564, allocations: 69.75 kB / 460.5 MB, free: 16.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.4565, allocations: 155.5 kB / 460.7 MB, free: 16.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4566, allocations: 345.7 kB / 461 MB, free: 15.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.473e-05/0.4567, allocations: 57.25 kB / 461.1 MB, free: 15.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.4569, allocations: 0.5101 MB / 461.6 MB, free: 15.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.4573, allocations: 0.6529 MB / 462.2 MB, free: 14.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.4573, allocations: 9.156 kB / 462.3 MB, free: 14.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006189/0.4579, allocations: 0.5603 MB / 462.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4579, allocations: 13.06 kB / 462.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.4579, allocations: 17.38 kB / 462.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4579, allocations: 24.22 kB / 462.9 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.4582, allocations: 208.9 kB / 463.1 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003011/0.4585, allocations: 0.6104 MB / 463.7 MB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.4588, allocations: 102.5 kB / 463.8 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.4588, allocations: 53.11 kB / 463.8 MB, free: 13.88 MB / 442.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.0001092/0.4589, allocations: 172.5 kB / 464 MB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.4591, allocations: 95.95 kB / 464.1 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.4593, allocations: 161.2 kB / 464.3 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4593, allocations: 3.281 kB / 464.3 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.4593, allocations: 0 / 464.3 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4593, allocations: 3.938 kB / 464.3 MB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.4596, allocations: 372.8 kB / 464.6 MB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4596, allocations: 2.594 kB / 464.6 MB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.4597, allocations: 33.56 kB / 464.7 MB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.4597, allocations: 34.97 kB / 464.7 MB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4597, allocations: 2.812 kB / 464.7 MB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.4597, allocations: 3.531 kB / 464.7 MB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001985/0.4599, allocations: 0.5882 MB / 465.3 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4599, allocations: 4.656 kB / 465.3 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.4601, allocations: 229.1 kB / 465.5 MB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.4601, allocations: 6.656 kB / 465.5 MB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.4602, allocations: 11.83 kB / 465.5 MB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.4602, allocations: 19.16 kB / 465.6 MB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.4602, allocations: 10.06 kB / 465.6 MB, free: 12.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.395e-05/0.4603, allocations: 115.3 kB / 465.7 MB, free: 12.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4603, allocations: 0 / 465.7 MB, free: 12.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007224/0.461, allocations: 353 kB / 466 MB, free: 12.59 MB / 442.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.0009802/0.462, allocations: 0.643 MB / 466.7 MB, free: 12.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002998/0.4623, allocations: 285.7 kB / 466.9 MB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.06e-05/0.4623, allocations: 10.28 kB / 467 MB, free: 12.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.4624, allocations: 55.31 kB / 467 MB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.4627, allocations: 128.9 kB / 467.1 MB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009645/0.4723, allocations: 6.852 MB / 474 MB, free: 11.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.86e-05/0.4724, allocations: 104.8 kB / 474.1 MB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003215/0.4727, allocations: 179.4 kB / 474.3 MB, free: 11.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.4729, allocations: 142.5 kB / 474.4 MB, free: 11.73 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4729, allocations: 0 / 474.4 MB, free: 11.73 MB / 442.7 MB Notification: Performance of Templates: time 0.01329/0.4862, allocations: 11.17 MB / 485.6 MB, free: 9.785 MB / 442.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 -ignoreHideResult -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","",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.8220655182376504]