Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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.001347/0.001347, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001234/0.001234, allocations: 168.7 kB / 24.91 MB, free: 9.195 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.9818/0.9818, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2569/0.2569, allocations: 34.26 MB / 296.1 MB, free: 0.6602 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.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.442e-05, allocations: 2.312 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.002899/0.002924, allocations: 2.252 MB / 327.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.005589, allocations: 2.103 MB / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.00578, allocations: 4 kB / 329.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.006094, allocations: 79.45 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.006345, allocations: 115.2 kB / 329.8 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.007739, allocations: 446 kB / 330.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005539/0.008293, allocations: 0.5324 MB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.008381, allocations: 33.25 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/0.008774, allocations: 243 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.008996, allocations: 171.3 kB / 331.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.009028, allocations: 12 kB / 331.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006893/0.009717, allocations: 379.3 kB / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.009871, allocations: 111.4 kB / 331.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.01001, allocations: 123.5 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.01101, allocations: 0.7053 MB / 332.6 MB, free: 320 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.01102, allocations: 0 / 332.6 MB, free: 320 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01102, allocations: 4 kB / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.01102, allocations: 0 / 332.6 MB, free: 316 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0008485/0.01187, allocations: 0.6865 MB / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.01191, allocations: 8.031 kB / 333.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.01218, allocations: 104.9 kB / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.01245, allocations: 209.9 kB / 333.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.01247, allocations: 45.3 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.01252, allocations: 52.38 kB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.01296, allocations: 442.2 kB / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.01298, allocations: 0 / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.01301, allocations: 20 kB / 334.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.759e-05/0.01304, allocations: 24.98 kB / 334.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.01325, allocations: 178.6 kB / 334.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.01432, allocations: 0.9771 MB / 335.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.01451, allocations: 179.6 kB / 335.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.963e-05/0.01457, allocations: 38.58 kB / 335.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.01461, allocations: 16.11 kB / 335.5 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.01463, allocations: 38.56 kB / 335.5 MB, free: 13.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.873e-06/0.01464, allocations: 0 / 335.5 MB, free: 13.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.000298/0.01493, allocations: 132.8 kB / 335.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.01498, allocations: 106.8 kB / 335.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.01511, allocations: 215.3 kB / 336 MB, free: 12.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.01513, allocations: 37.64 kB / 336 MB, free: 12.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.01524, allocations: 244.2 kB / 336.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.01529, allocations: 83.56 kB / 336.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/0.01536, allocations: 62.17 kB / 336.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.01545, allocations: 338.8 kB / 336.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.226e-05/0.01551, allocations: 30.81 kB / 336.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.01561, allocations: 137.3 kB / 336.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.0158, allocations: 194.2 kB / 337.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0158, allocations: 4 kB / 337.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002242/0.01603, allocations: 183.1 kB / 337.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.01604, allocations: 8 kB / 337.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.88e-05/0.01608, allocations: 23.98 kB / 337.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.0161, allocations: 15.92 kB / 337.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.01619, allocations: 27.97 kB / 337.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.0162, allocations: 7.938 kB / 337.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/0.01629, allocations: 28.28 kB / 337.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.01631, allocations: 20 kB / 337.4 MB, free: 11.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001213/0.01643, allocations: 132.6 kB / 337.5 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.01648, allocations: 15.98 kB / 337.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.01677, allocations: 207.3 kB / 337.8 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.01677, allocations: 4 kB / 337.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.01678, allocations: 4 kB / 337.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01678, allocations: 0 / 337.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.01706, allocations: 193.5 kB / 338 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/0.01711, allocations: 31.92 kB / 338 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-05/0.01717, allocations: 23.98 kB / 338 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01717, allocations: 0 / 338 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.01719, allocations: 8 kB / 338 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01719, allocations: 0 / 338 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.01719, allocations: 4 kB / 338 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.01745, allocations: 405.2 kB / 338.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.01748, allocations: 27.73 kB / 338.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.0175, allocations: 0 / 338.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.01761, allocations: 15.98 kB / 338.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.01766, allocations: 19.97 kB / 338.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.01767, allocations: 8 kB / 338.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.786e-05/0.01772, allocations: 67.34 kB / 338.5 MB, free: 9.945 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01772, allocations: 0 / 338.5 MB, free: 9.945 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004745/0.0182, allocations: 203.2 kB / 338.7 MB, free: 9.746 MB / 314.7 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003574/0.01855, allocations: 239.8 kB / 339 MB, free: 9.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.01889, allocations: 446.8 kB / 339.4 MB, free: 8.992 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/0.0189, allocations: 4 kB / 339.4 MB, free: 8.988 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.01908, allocations: 373.2 kB / 339.8 MB, free: 8.547 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.01939, allocations: 42.8 kB / 339.8 MB, free: 8.508 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.02054, allocations: 0.7735 MB / 340.6 MB, free: 7.699 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.39e-05/0.02062, allocations: 135.9 kB / 340.7 MB, free: 7.547 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.468e-05/0.02069, allocations: 17.94 kB / 340.8 MB, free: 7.527 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.02088, allocations: 143.3 kB / 340.9 MB, free: 7.387 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02088, allocations: 0 / 340.9 MB, free: 7.387 MB / 314.7 MB Notification: Performance of Templates: time 0.008958/0.02984, allocations: 7.303 MB / 348.2 MB, free: 184 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.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.201634921133518]