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_KC.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.001628/0.001628, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002027/0.002027, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.534/1.534, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2271/0.2271, allocations: 46.92 MB / 357.1 MB, free: 10.31 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.89 kB / 0.4909 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1411, allocations: 65.99 MB / 0.5554 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003252/0.1444, allocations: 1.798 MB / 0.5572 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1457, allocations: 0.845 MB / 0.558 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.1458, allocations: 0 / 0.558 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.146, allocations: 43.73 kB / 0.558 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.1463, allocations: 75.64 kB / 0.5581 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.1465, allocations: 79.73 kB / 0.5582 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1468, allocations: 147.3 kB / 0.5583 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.1468, allocations: 12.86 kB / 0.5583 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.147, allocations: 71.64 kB / 0.5584 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1471, allocations: 79.66 kB / 0.5585 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1471, allocations: 12 kB / 0.5585 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.1474, allocations: 163.7 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.1475, allocations: 39.84 kB / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.689e-05/0.1476, allocations: 51.61 kB / 0.5587 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.1479, allocations: 215.1 kB / 0.5589 GB, free: 2.188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1479, allocations: 0 / 0.5589 GB, free: 2.188 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1479, allocations: 0 / 0.5589 GB, free: 2.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1479, allocations: 0 / 0.5589 GB, free: 2.188 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007819/0.1487, allocations: 450.7 kB / 0.5594 GB, free: 1.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1487, allocations: 8.031 kB / 0.5594 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.561e-05/0.1488, allocations: 50.72 kB / 0.5594 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.1488, allocations: 16.84 kB / 0.5594 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1491, allocations: 204.1 kB / 0.5596 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1491, allocations: 8.375 kB / 0.5596 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.1491, allocations: 11.94 kB / 0.5596 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.1495, allocations: 181.5 kB / 0.5598 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1495, allocations: 0 / 0.5598 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.1495, allocations: 8 kB / 0.5598 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.1495, allocations: 11.98 kB / 0.5598 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.1499, allocations: 163.9 kB / 0.56 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008299/0.1507, allocations: 488.2 kB / 0.5605 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.1512, allocations: 158.4 kB / 0.5606 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.1513, allocations: 52.81 kB / 0.5607 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.1514, allocations: 4 kB / 0.5607 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1514, allocations: 30.56 kB / 0.5607 GB, free: 212 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 3.016e-06/0.1514, allocations: 3.984 kB / 0.5607 GB, free: 208 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005853/0.152, allocations: 201.7 kB / 0.5609 GB, free: 0 / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.152, allocations: 55.41 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1522, allocations: 199.5 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1523, allocations: 37.64 kB / 0.5612 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.1523, allocations: 112 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.1524, allocations: 31.7 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.1524, allocations: 33.64 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1526, allocations: 330.8 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.1527, allocations: 47.95 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.1529, allocations: 70.52 kB / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.1532, allocations: 138.4 kB / 0.5619 GB, free: 14.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1532, allocations: 0 / 0.5619 GB, free: 14.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003727/0.1536, allocations: 157.5 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1536, allocations: 4 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1536, allocations: 4 kB / 0.562 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1536, allocations: 0 / 0.562 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.1539, allocations: 47.91 kB / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008562/0.1548, allocations: 1.234 MB / 0.5633 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1549, allocations: 11.89 kB / 0.5633 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.1549, allocations: 4 kB / 0.5633 GB, free: 13.38 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002095/0.1551, allocations: 140.2 kB / 0.5634 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.1551, allocations: 15.89 kB / 0.5635 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.1556, allocations: 182.9 kB / 0.5636 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1556, allocations: 0 / 0.5636 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1556, allocations: 0 / 0.5636 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1556, allocations: 3.984 kB / 0.5636 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.1559, allocations: 225.6 kB / 0.5639 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1559, allocations: 0 / 0.5639 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.1562, allocations: 47.97 kB / 0.5639 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.1562, allocations: 4 kB / 0.5639 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.1562, allocations: 4 kB / 0.5639 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.1572, allocations: 1.223 MB / 0.5651 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1572, allocations: 4.188 kB / 0.5651 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.1578, allocations: 255.3 kB / 0.5654 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.169e-05/0.1579, allocations: 92.95 kB / 0.5654 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.1579, allocations: 7.938 kB / 0.5654 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.1581, allocations: 7.984 kB / 0.5655 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.1581, allocations: 7.984 kB / 0.5655 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1582, allocations: 12 kB / 0.5655 GB, free: 11.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.1584, allocations: 149.2 kB / 0.5656 GB, free: 10.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1584, allocations: 0 / 0.5656 GB, free: 10.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005068/0.1589, allocations: 39.94 kB / 0.5657 GB, free: 10.83 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00113/0.16, allocations: 0.8214 MB / 0.5665 GB, free: 9.984 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007127/0.1607, allocations: 147.9 kB / 0.5666 GB, free: 9.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1607, allocations: 0 / 0.5666 GB, free: 9.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.1611, allocations: 79.94 kB / 0.5667 GB, free: 9.762 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.1616, allocations: 30.19 kB / 0.5667 GB, free: 9.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.1657, allocations: 2.159 MB / 0.5688 GB, free: 7.488 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.1662, allocations: 0.724 MB / 0.5695 GB, free: 6.738 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.1664, allocations: 44.97 kB / 0.5696 GB, free: 6.695 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.1665, allocations: 35.42 kB / 0.5696 GB, free: 6.66 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1665, allocations: 4 kB / 0.5696 GB, free: 6.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03568/0.2022, allocations: 4.711 MB / 0.5742 GB, free: 2.188 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/11.95, allocations: 4.328 kB / 0.5742 GB, free: 2.188 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_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/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.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: 15.198157296981663]