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.001373/0.001373, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001551/0.001551, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.457/1.457, allocations: 230.6 MB / 254.1 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.2268/0.2268, allocations: 46.93 MB / 357.1 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.91 kB / 0.491 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1439, allocations: 66 MB / 0.5554 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.00486/0.1487, allocations: 1.915 MB / 0.5573 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.1516, allocations: 1.176 MB / 0.5584 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.1518, allocations: 4 kB / 0.5584 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.1523, allocations: 51.67 kB / 0.5585 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.1526, allocations: 59.61 kB / 0.5585 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009243/0.1535, allocations: 187.3 kB / 0.5587 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.1541, allocations: 227 kB / 0.5589 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.464e-05/0.1542, allocations: 17.69 kB / 0.5589 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.1545, allocations: 91.56 kB / 0.559 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.1548, allocations: 111.5 kB / 0.5591 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.1548, allocations: 8 kB / 0.5591 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006519/0.1555, allocations: 251.6 kB / 0.5594 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1556, allocations: 63.69 kB / 0.5594 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.1558, allocations: 91.39 kB / 0.5595 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007557/0.1565, allocations: 342.5 kB / 0.5599 GB, free: 1.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1565, allocations: 4 kB / 0.5599 GB, free: 1.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1565, allocations: 0 / 0.5599 GB, free: 1.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1565, allocations: 0 / 0.5599 GB, free: 1.223 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.001508/0.158, allocations: 0.5563 MB / 0.5604 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.1581, allocations: 12.03 kB / 0.5604 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.645e-05/0.1582, allocations: 50.73 kB / 0.5605 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005204/0.1587, allocations: 60.75 kB / 0.5605 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.1591, allocations: 236.8 kB / 0.5608 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1592, allocations: 16.38 kB / 0.5608 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.1592, allocations: 19.88 kB / 0.5608 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000957/0.1602, allocations: 281.6 kB / 0.5611 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1602, allocations: 0 / 0.5611 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.1602, allocations: 4 kB / 0.5611 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/0.1602, allocations: 12 kB / 0.5611 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008767/0.1611, allocations: 223.5 kB / 0.5613 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.1628, allocations: 0.7814 MB / 0.562 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.1636, allocations: 223.7 kB / 0.5623 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.164, allocations: 94.61 kB / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-05/0.164, allocations: 8.031 kB / 0.5624 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.164, allocations: 50.42 kB / 0.5624 GB, free: 14.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 4.137e-06/0.164, allocations: 3.984 kB / 0.5624 GB, free: 14.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.001335/0.1654, allocations: 305.5 kB / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.1655, allocations: 114.8 kB / 0.5628 GB, free: 13.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.1659, allocations: 278.6 kB / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.166, allocations: 25.7 kB / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.1662, allocations: 147.8 kB / 0.5632 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.416e-05/0.1663, allocations: 51.53 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.1664, allocations: 37.7 kB / 0.5633 GB, free: 13.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003548/0.1668, allocations: 338.8 kB / 0.5636 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.1671, allocations: 79.92 kB / 0.5637 GB, free: 12.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.1676, allocations: 130.8 kB / 0.5638 GB, free: 12.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008775/0.1684, allocations: 220.9 kB / 0.5641 GB, free: 12.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1685, allocations: 7.938 kB / 0.5641 GB, free: 12.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009377/0.1694, allocations: 257.2 kB / 0.5643 GB, free: 12.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.1694, allocations: 11.94 kB / 0.5643 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.036e-05/0.1695, allocations: 8.188 kB / 0.5643 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.1695, allocations: 160 / 0.5643 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.1697, allocations: 39.91 kB / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.1698, allocations: 3.938 kB / 0.5644 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.17, allocations: 39.81 kB / 0.5644 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.1701, allocations: 8 kB / 0.5644 GB, free: 12.23 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.0002079/0.1703, allocations: 152.3 kB / 0.5646 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.1704, allocations: 23.8 kB / 0.5646 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008563/0.1713, allocations: 235 kB / 0.5648 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.1713, allocations: 0 / 0.5648 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.1713, allocations: 4 kB / 0.5648 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1713, allocations: 3.984 kB / 0.5648 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.172, allocations: 261.5 kB / 0.5651 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/0.172, allocations: 12 kB / 0.5651 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.1723, allocations: 27.97 kB / 0.5651 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1723, allocations: 3.938 kB / 0.5651 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.1723, allocations: 8 kB / 0.5651 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.862e-06/0.1723, allocations: 4 kB / 0.5651 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1723, allocations: 4 kB / 0.5651 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.1734, allocations: 489.7 kB / 0.5656 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1735, allocations: 104.8 kB / 0.5657 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.1735, allocations: 3.984 kB / 0.5657 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.1739, allocations: 19.98 kB / 0.5657 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.174, allocations: 7.984 kB / 0.5657 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.174, allocations: 8 kB / 0.5657 GB, free: 10.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003476/0.1744, allocations: 205.9 kB / 0.5659 GB, free: 10.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1744, allocations: 4 kB / 0.5659 GB, free: 10.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006935/0.175, allocations: 71.88 kB / 0.566 GB, free: 10.51 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.001769/0.1768, allocations: 1.077 MB / 0.5671 GB, free: 9.406 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.1778, allocations: 276.8 kB / 0.5673 GB, free: 9.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.1778, allocations: 4 kB / 0.5673 GB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004742/0.1783, allocations: 181.3 kB / 0.5675 GB, free: 8.918 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008247/0.1791, allocations: 36.53 kB / 0.5675 GB, free: 8.883 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006487/0.1856, allocations: 2.983 MB / 0.5704 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/0.1863, allocations: 0.7632 MB / 0.5712 GB, free: 4.992 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.1865, allocations: 41.5 kB / 0.5712 GB, free: 4.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.1867, allocations: 59.42 kB / 0.5713 GB, free: 4.895 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1867, allocations: 0 / 0.5713 GB, free: 4.895 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03391/0.2206, allocations: 6.644 MB / 0.5778 GB, free: 14.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/8.426, allocations: 11.55 kB / 0.5778 GB, free: 14.45 MB / 446.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 52.5] 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] "Error: Could not read variable mflow_test in file ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.47205855185166]