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_evenGapTurbulent.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.001912/0.001912, allocations: 116 kB / 18.45 MB, free: 4.566 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.002258/0.002258, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.507/1.507, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2313/0.2313, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 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_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|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_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|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_evenGapTurbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 63.91 kB / 0.4921 GB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1212, allocations: 65.99 MB / 0.5565 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003344/0.1246, allocations: 1.918 MB / 0.5584 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1264, allocations: 1.172 MB / 0.5596 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.757e-05/0.1265, allocations: 3.938 kB / 0.5596 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.1268, allocations: 55.67 kB / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.1269, allocations: 63.59 kB / 0.5597 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.1275, allocations: 189.4 kB / 0.5599 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.1278, allocations: 231 kB / 0.5601 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.1278, allocations: 17.67 kB / 0.5601 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.128, allocations: 91.56 kB / 0.5602 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.1282, allocations: 103.5 kB / 0.5603 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1282, allocations: 8 kB / 0.5603 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004291/0.1286, allocations: 263.6 kB / 0.5605 GB, free: 1.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.977e-05/0.1287, allocations: 51.81 kB / 0.5606 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.998e-05/0.1288, allocations: 95.34 kB / 0.5607 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.1293, allocations: 334.6 kB / 0.561 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1293, allocations: 0 / 0.561 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1293, allocations: 0 / 0.561 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1293, allocations: 0 / 0.561 GB, free: 0.7109 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001086/0.1304, allocations: 0.568 MB / 0.5615 GB, free: 96 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1304, allocations: 8.031 kB / 0.5616 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003809/0.1308, allocations: 60.75 kB / 0.5616 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1311, allocations: 236.8 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1311, allocations: 8.375 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.1311, allocations: 20.12 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005626/0.1317, allocations: 277.6 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1317, allocations: 0 / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.1317, allocations: 15.97 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.1318, allocations: 8 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005963/0.1324, allocations: 223.5 kB / 0.5624 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.1335, allocations: 0.7814 MB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000613/0.1341, allocations: 227.7 kB / 0.5633 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.1344, allocations: 102.5 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.1344, allocations: 3.938 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.1345, allocations: 38.56 kB / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/0.1345, allocations: 0 / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.001009/0.1355, allocations: 325.4 kB / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.1355, allocations: 106.8 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.1358, allocations: 278.6 kB / 0.5642 GB, free: 13.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1359, allocations: 25.7 kB / 0.5642 GB, free: 13.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.136, allocations: 139.8 kB / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.136, allocations: 55.53 kB / 0.5644 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.1361, allocations: 33.7 kB / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1363, allocations: 334.8 kB / 0.5647 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.1365, allocations: 87.91 kB / 0.5648 GB, free: 12.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.1368, allocations: 133 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.1374, allocations: 216.9 kB / 0.5651 GB, free: 12.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1374, allocations: 7.938 kB / 0.5652 GB, free: 12.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007078/0.1381, allocations: 261.2 kB / 0.5654 GB, free: 11.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1381, allocations: 7.938 kB / 0.5654 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/0.1382, allocations: 11.98 kB / 0.5654 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.1382, allocations: 4.156 kB / 0.5654 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.1384, allocations: 35.91 kB / 0.5655 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.1384, allocations: 4 kB / 0.5655 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.1386, allocations: 39.81 kB / 0.5655 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1386, allocations: 4 kB / 0.5655 GB, free: 11.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001802/0.1388, allocations: 148 kB / 0.5656 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.678e-05/0.1389, allocations: 27.8 kB / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/0.1394, allocations: 231.2 kB / 0.5659 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.1394, allocations: 4 kB / 0.5659 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1394, allocations: 0 / 0.5659 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1394, allocations: 0 / 0.5659 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.1399, allocations: 265.5 kB / 0.5661 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.281e-05/0.1399, allocations: 12 kB / 0.5662 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.1401, allocations: 27.95 kB / 0.5662 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.1401, allocations: 7.938 kB / 0.5662 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.1401, allocations: 11.94 kB / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.1401, allocations: 0 / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1401, allocations: 0 / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.1408, allocations: 481.8 kB / 0.5667 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-05/0.1409, allocations: 108.9 kB / 0.5668 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.1409, allocations: 7.938 kB / 0.5668 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.1412, allocations: 20.06 kB / 0.5668 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.1413, allocations: 15.92 kB / 0.5668 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.1413, allocations: 11.94 kB / 0.5668 GB, free: 10.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002237/0.1415, allocations: 201.9 kB / 0.567 GB, free: 10.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1415, allocations: 4 kB / 0.567 GB, free: 10.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004631/0.142, allocations: 75.86 kB / 0.5671 GB, free: 10.04 MB / 430.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0003069/0.1423, allocations: 159 kB / 0.5672 GB, free: 9.879 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007029/0.143, allocations: 280.7 kB / 0.5675 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.143, allocations: 0 / 0.5675 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.1433, allocations: 177.3 kB / 0.5677 GB, free: 9.395 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.1438, allocations: 44.73 kB / 0.5677 GB, free: 9.355 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009362/0.1448, allocations: 0.504 MB / 0.5682 GB, free: 8.812 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.1452, allocations: 0.7515 MB / 0.5689 GB, free: 8.035 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.1452, allocations: 27.42 kB / 0.569 GB, free: 8.012 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1452, allocations: 3.938 kB / 0.569 GB, free: 8.008 MB / 430.1 MB Notification: Performance of Templates: time 0.006606/0.1519, allocations: 3.922 MB / 0.5728 GB, free: 4.105 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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: 8.0054957960092]