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.001552/0.001552, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001435/0.001435, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.224/0.224, allocations: 46.96 MB / 360.9 MB, free: 4.121 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.001912/0.001912, allocations: 59.91 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3297, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003739/0.3335, allocations: 1.871 MB / 0.5624 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3354, allocations: 1.056 MB / 0.5635 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.3355, allocations: 0 / 0.5635 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.3357, allocations: 55.69 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.3359, allocations: 63.59 kB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.3365, allocations: 194.9 kB / 0.5638 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.3368, allocations: 231 kB / 0.564 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.344e-05/0.3369, allocations: 5.812 kB / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.3371, allocations: 99.55 kB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.3372, allocations: 107.5 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.3373, allocations: 8 kB / 0.5642 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.3376, allocations: 143.8 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3377, allocations: 63.73 kB / 0.5644 GB, free: 336 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3378, allocations: 71.53 kB / 0.5645 GB, free: 264 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.3382, allocations: 308.6 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3383, allocations: 0 / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3383, allocations: 0 / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.3383, allocations: 0 / 0.5648 GB, free: 15.95 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.001046/0.3393, allocations: 0.4888 MB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3393, allocations: 12.03 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.489e-05/0.3394, allocations: 54.72 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/0.3398, allocations: 56.77 kB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.3401, allocations: 182.9 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.3401, allocations: 8.375 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.3401, allocations: 19.94 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.3407, allocations: 273.2 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3407, allocations: 0 / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.3407, allocations: 12 kB / 0.5658 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/0.3408, allocations: 19.75 kB / 0.5659 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.3413, allocations: 223.3 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.3424, allocations: 0.7142 MB / 0.5668 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/0.343, allocations: 231.6 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.3432, allocations: 90.5 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.3433, allocations: 7.984 kB / 0.5671 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.3433, allocations: 46.5 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3433, allocations: 0 / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009393/0.3443, allocations: 313.4 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.3443, allocations: 102.8 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.3446, allocations: 277.9 kB / 0.5678 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.3447, allocations: 29.7 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3448, allocations: 143.8 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.3449, allocations: 51.69 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/0.3449, allocations: 41.7 kB / 0.568 GB, free: 12.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3451, allocations: 338.8 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.3454, allocations: 83.95 kB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.3456, allocations: 131.7 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.3461, allocations: 216.9 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3462, allocations: 0 / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006468/0.3468, allocations: 265.6 kB / 0.569 GB, free: 11.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.3468, allocations: 7.938 kB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.3469, allocations: 8 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3469, allocations: 4 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.3471, allocations: 39.89 kB / 0.5691 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3471, allocations: 4 kB / 0.5691 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.3473, allocations: 35.98 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.3473, allocations: 8 kB / 0.5691 GB, free: 11.2 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.0001704/0.3475, allocations: 157.6 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.3476, allocations: 27.8 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.3481, allocations: 219.3 kB / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.3481, allocations: 7.984 kB / 0.5695 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3481, allocations: 0 / 0.5695 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3481, allocations: 0 / 0.5695 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.3485, allocations: 224.6 kB / 0.5697 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-05/0.3485, allocations: 15.98 kB / 0.5698 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.3487, allocations: 31.91 kB / 0.5698 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3487, allocations: 3.938 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.3487, allocations: 4 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3487, allocations: 96 / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3487, allocations: 3.938 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007407/0.3495, allocations: 485.8 kB / 0.5703 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.3495, allocations: 27.73 kB / 0.5703 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.3496, allocations: 0 / 0.5703 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.3498, allocations: 23.97 kB / 0.5703 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.3499, allocations: 11.92 kB / 0.5703 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.35, allocations: 12 kB / 0.5703 GB, free: 9.891 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.3502, allocations: 205.1 kB / 0.5705 GB, free: 9.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3502, allocations: 0 / 0.5705 GB, free: 9.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005127/0.3507, allocations: 79.81 kB / 0.5706 GB, free: 9.609 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.001371/0.3521, allocations: 1.078 MB / 0.5717 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006994/0.3528, allocations: 269.1 kB / 0.5719 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3528, allocations: 4.062 kB / 0.5719 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.3531, allocations: 181 kB / 0.5721 GB, free: 8.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.3537, allocations: 44.78 kB / 0.5721 GB, free: 7.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.3579, allocations: 2.977 MB / 0.575 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.3581, allocations: 152.1 kB / 0.5752 GB, free: 4.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.3582, allocations: 45.58 kB / 0.5752 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3583, allocations: 63.42 kB / 0.5753 GB, free: 4.609 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3583, allocations: 0 / 0.5753 GB, free: 4.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03529/0.3936, allocations: 7.489 MB / 0.5826 GB, free: 13.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11, allocations: 7.984 kB / 0.5826 GB, free: 13.33 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: 13.959294001018861]