Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.00207/0.00207, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002618/0.002618, allocations: 206.8 kB / 23.72 MB, free: 4.391 MB / 14.72 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.3242/0.3242, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] 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.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 71.89 kB / 0.4966 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.368, allocations: 66.04 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.004121/0.3721, allocations: 2.011 MB / 0.5631 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.3746, allocations: 1.211 MB / 0.5643 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.3748, allocations: 0 / 0.5643 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.3752, allocations: 75.59 kB / 0.5643 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.3754, allocations: 83.44 kB / 0.5644 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007833/0.3762, allocations: 215.2 kB / 0.5646 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006213/0.3768, allocations: 434 kB / 0.565 GB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.43e-05/0.3769, allocations: 16.94 kB / 0.565 GB, free: 120 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.3772, allocations: 159.2 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.3775, allocations: 167 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.3775, allocations: 12 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.3779, allocations: 199.7 kB / 0.5656 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.378, allocations: 87.53 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.3782, allocations: 139.1 kB / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007642/0.379, allocations: 0.5157 MB / 0.5663 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.379, allocations: 4 kB / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.379, allocations: 0 / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.379, allocations: 0 / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001691/0.3807, allocations: 0.6492 MB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.3807, allocations: 12.03 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006562/0.3814, allocations: 80.61 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.382, allocations: 234.7 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.382, allocations: 29 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.3821, allocations: 36 kB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.3836, allocations: 0.5535 MB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.3836, allocations: 3.984 kB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.3836, allocations: 23.88 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/0.3837, allocations: 21 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009091/0.3846, allocations: 411.6 kB / 0.5683 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.3865, allocations: 1.063 MB / 0.5693 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.3871, allocations: 271.6 kB / 0.5696 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.3875, allocations: 138.4 kB / 0.5697 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.3875, allocations: 7.984 kB / 0.5697 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.3876, allocations: 38.56 kB / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/0.3876, allocations: 0 / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001269/0.3888, allocations: 445.2 kB / 0.5702 GB, free: 10.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.3889, allocations: 114.7 kB / 0.5703 GB, free: 10.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.3892, allocations: 244.8 kB / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.3893, allocations: 25.7 kB / 0.5705 GB, free: 10.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.3895, allocations: 228.3 kB / 0.5707 GB, free: 10.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.3896, allocations: 59.53 kB / 0.5708 GB, free: 10 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.3897, allocations: 65.8 kB / 0.5709 GB, free: 9.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.3899, allocations: 334.9 kB / 0.5712 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.3902, allocations: 136 kB / 0.5713 GB, free: 9.457 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/0.3907, allocations: 212.2 kB / 0.5715 GB, free: 9.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008506/0.3915, allocations: 368.9 kB / 0.5719 GB, free: 8.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3916, allocations: 8 kB / 0.5719 GB, free: 8.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009603/0.3925, allocations: 397.3 kB / 0.5723 GB, free: 8.418 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3925, allocations: 12.03 kB / 0.5723 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.985e-05/0.3926, allocations: 32 kB / 0.5723 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.3926, allocations: 7.938 kB / 0.5723 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.3928, allocations: 31.95 kB / 0.5723 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.3929, allocations: 7.938 kB / 0.5723 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.3931, allocations: 31.86 kB / 0.5724 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.3931, allocations: 20 kB / 0.5724 GB, free: 8.277 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002705/0.3934, allocations: 193.7 kB / 0.5726 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.3935, allocations: 23.84 kB / 0.5726 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008809/0.3944, allocations: 383 kB / 0.573 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.3944, allocations: 4 kB / 0.573 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3944, allocations: 0 / 0.573 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3944, allocations: 0 / 0.573 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.3949, allocations: 285.1 kB / 0.5732 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-05/0.395, allocations: 39.88 kB / 0.5733 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.3951, allocations: 23.97 kB / 0.5733 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.3952, allocations: 3.984 kB / 0.5733 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.3952, allocations: 12 kB / 0.5733 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.3952, allocations: 11.88 kB / 0.5733 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3952, allocations: 4 kB / 0.5733 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009481/0.3961, allocations: 0.559 MB / 0.5739 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.3962, allocations: 19.86 kB / 0.5739 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.3962, allocations: 3.938 kB / 0.5739 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.3965, allocations: 23.97 kB / 0.5739 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.3966, allocations: 19.97 kB / 0.5739 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.3966, allocations: 8 kB / 0.574 GB, free: 6.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.3968, allocations: 176.4 kB / 0.5741 GB, free: 6.453 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3968, allocations: 0 / 0.5741 GB, free: 6.453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006662/0.3975, allocations: 147.5 kB / 0.5743 GB, free: 6.309 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004205/0.3979, allocations: 171 kB / 0.5744 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.3989, allocations: 0.534 MB / 0.5749 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3989, allocations: 0.6875 kB / 0.5749 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.3995, allocations: 391.5 kB / 0.5753 GB, free: 5.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.4001, allocations: 36.19 kB / 0.5754 GB, free: 5.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.4017, allocations: 0.7403 MB / 0.5761 GB, free: 4.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.402, allocations: 248.2 kB / 0.5763 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.4021, allocations: 37.44 kB / 0.5763 GB, free: 4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.4022, allocations: 15.44 kB / 0.5764 GB, free: 3.984 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4022, allocations: 0 / 0.5764 GB, free: 3.984 MB / 414.1 MB Notification: Performance of Templates: time 0.01251/0.4147, allocations: 5.613 MB / 0.5818 GB, free: 14.46 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.634309867396951]