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.001272/0.001272, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001441/0.001441, allocations: 216.6 kB / 23.73 MB, free: 4.156 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2331/0.2331, allocations: 46.96 MB / 360.9 MB, free: 4.004 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.002056/0.002056, allocations: 75.83 kB / 0.4961 GB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3689, allocations: 66.04 MB / 0.5606 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003639/0.3725, allocations: 1.873 MB / 0.5625 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3746, allocations: 1.052 MB / 0.5635 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.354e-05/0.3747, allocations: 0 / 0.5635 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.375, allocations: 51.69 kB / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.3752, allocations: 63.61 kB / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.3757, allocations: 187.3 kB / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.3761, allocations: 235 kB / 0.564 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.3761, allocations: 9.797 kB / 0.564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.3763, allocations: 95.56 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.3765, allocations: 99.53 kB / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.3765, allocations: 11.94 kB / 0.5642 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.3768, allocations: 139.8 kB / 0.5643 GB, free: 384 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.3769, allocations: 55.81 kB / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.112e-05/0.377, allocations: 71.53 kB / 0.5645 GB, free: 256 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004862/0.3775, allocations: 312.4 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3775, allocations: 0 / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3775, allocations: 4 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3775, allocations: 0 / 0.5648 GB, free: 15.94 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.001077/0.3786, allocations: 0.4927 MB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3786, allocations: 12.03 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.535e-05/0.3787, allocations: 50.73 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/0.3791, allocations: 60.75 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.3793, allocations: 182.9 kB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.3794, allocations: 8.375 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.3794, allocations: 19.92 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005608/0.38, allocations: 273.2 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.38, allocations: 3.938 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.38, allocations: 8 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.38, allocations: 8 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.3806, allocations: 231.3 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.3818, allocations: 0.7142 MB / 0.5668 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/0.3824, allocations: 223.7 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.3827, allocations: 98.5 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.3827, allocations: 4 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.3828, allocations: 38.5 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.3828, allocations: 0 / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009752/0.3837, allocations: 317.8 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.3838, allocations: 106.8 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.3841, allocations: 274 kB / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.3842, allocations: 37.64 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.3843, allocations: 139.8 kB / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/0.3844, allocations: 59.45 kB / 0.568 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.861e-05/0.3845, allocations: 41.7 kB / 0.568 GB, free: 12.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.3847, allocations: 330.8 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.385, allocations: 87.98 kB / 0.5684 GB, free: 11.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.3853, allocations: 121.1 kB / 0.5685 GB, free: 11.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005728/0.3858, allocations: 220.9 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3858, allocations: 0 / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006729/0.3865, allocations: 265.3 kB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.3865, allocations: 7.938 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.137e-05/0.3866, allocations: 15.98 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3866, allocations: 7.938 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.3868, allocations: 28.16 kB / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3868, allocations: 4 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.387, allocations: 39.75 kB / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.387, allocations: 12.12 kB / 0.5691 GB, free: 11.18 MB / 414.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.0001832/0.3872, allocations: 153.6 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.643e-05/0.3873, allocations: 27.8 kB / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005347/0.3878, allocations: 219.2 kB / 0.5695 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.3878, allocations: 8 kB / 0.5695 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3878, allocations: 0 / 0.5695 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3878, allocations: 0 / 0.5695 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.3882, allocations: 220.6 kB / 0.5697 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/0.3883, allocations: 12 kB / 0.5697 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.3884, allocations: 35.91 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3884, allocations: 3.938 kB / 0.5698 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.3885, allocations: 8 kB / 0.5698 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3885, allocations: 3.984 kB / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3885, allocations: 3.984 kB / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007621/0.3892, allocations: 481.8 kB / 0.5702 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.3893, allocations: 35.66 kB / 0.5703 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.3893, allocations: 0 / 0.5703 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.3896, allocations: 19.98 kB / 0.5703 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.3897, allocations: 15.97 kB / 0.5703 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.3897, allocations: 8 kB / 0.5703 GB, free: 9.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.3899, allocations: 201.2 kB / 0.5705 GB, free: 9.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3899, allocations: 0 / 0.5705 GB, free: 9.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005588/0.3905, allocations: 79.8 kB / 0.5706 GB, free: 9.594 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 (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.001332/0.3918, allocations: 1.078 MB / 0.5716 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006858/0.3925, allocations: 268.9 kB / 0.5719 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3925, allocations: 4 kB / 0.5719 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.3929, allocations: 181.3 kB / 0.5721 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.3934, allocations: 47.28 kB / 0.5721 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.3979, allocations: 2.989 MB / 0.575 GB, free: 4.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.3981, allocations: 140.2 kB / 0.5752 GB, free: 4.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.3982, allocations: 41.61 kB / 0.5752 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.3984, allocations: 67.41 kB / 0.5753 GB, free: 4.598 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3984, allocations: 0 / 0.5753 GB, free: 4.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.4335, allocations: 7.438 MB / 0.5825 GB, free: 13.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.3, allocations: 4.062 kB / 0.5825 GB, free: 13.38 MB / 430.1 MB " [Timeout remaining time 649] (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: 14.354181975591928]