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.001336/0.001336, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001692/0.001692, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2219/0.2219, allocations: 46.93 MB / 360.9 MB, free: 4.281 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.002185/0.002185, allocations: 71.89 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3333, allocations: 66.04 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003328/0.3367, allocations: 1.941 MB / 0.5626 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.3387, allocations: 1.177 MB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.564e-05/0.3387, allocations: 0 / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.339, allocations: 59.67 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.3392, allocations: 59.61 kB / 0.5638 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.3398, allocations: 179.3 kB / 0.564 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.3401, allocations: 239 kB / 0.5642 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.3402, allocations: 5.812 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.3404, allocations: 99.55 kB / 0.5643 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.3406, allocations: 99.53 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.3406, allocations: 12 kB / 0.5644 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.341, allocations: 255.6 kB / 0.5647 GB, free: 360 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.159e-05/0.3411, allocations: 63.67 kB / 0.5647 GB, free: 296 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.3412, allocations: 87.47 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.3417, allocations: 344.4 kB / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3417, allocations: 0 / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3417, allocations: 0 / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.3417, allocations: 0 / 0.5652 GB, free: 15.87 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.001021/0.3428, allocations: 496.6 kB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3428, allocations: 8.031 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.697e-05/0.3429, allocations: 54.73 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003633/0.3432, allocations: 56.75 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.3435, allocations: 182.9 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3435, allocations: 12.31 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.3436, allocations: 19.94 kB / 0.566 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.3441, allocations: 277.2 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3441, allocations: 0 / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.3441, allocations: 4 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.3441, allocations: 8 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.3447, allocations: 243.2 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.3458, allocations: 0.7376 MB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.3464, allocations: 227.7 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.3466, allocations: 94.48 kB / 0.5675 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.3467, allocations: 12.03 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3467, allocations: 38.5 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.3467, allocations: 0 / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009049/0.3476, allocations: 309.4 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.3477, allocations: 114.7 kB / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.348, allocations: 277.9 kB / 0.5682 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.348, allocations: 25.7 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.3481, allocations: 139.8 kB / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.3482, allocations: 51.53 kB / 0.5684 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.3483, allocations: 41.77 kB / 0.5685 GB, free: 12.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3484, allocations: 334.8 kB / 0.5688 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.3487, allocations: 87.91 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.3489, allocations: 129.1 kB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.3495, allocations: 224.9 kB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3495, allocations: 0 / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006179/0.3501, allocations: 261.7 kB / 0.5694 GB, free: 11.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3501, allocations: 7.938 kB / 0.5695 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/0.3501, allocations: 12 kB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3501, allocations: 7.984 kB / 0.5695 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.3503, allocations: 27.97 kB / 0.5695 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.3503, allocations: 7.938 kB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.3505, allocations: 31.83 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.3505, allocations: 11.98 kB / 0.5695 GB, free: 11.09 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.0001552/0.3507, allocations: 153.7 kB / 0.5697 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.3508, allocations: 31.8 kB / 0.5697 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004957/0.3513, allocations: 223.2 kB / 0.5699 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3513, allocations: 4 kB / 0.5699 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3513, allocations: 0 / 0.5699 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3513, allocations: 0 / 0.5699 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.3517, allocations: 236.6 kB / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/0.3517, allocations: 16.09 kB / 0.5702 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.3519, allocations: 31.91 kB / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3519, allocations: 3.938 kB / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3519, allocations: 7.984 kB / 0.5702 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3519, allocations: 0 / 0.5702 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3519, allocations: 0 / 0.5702 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.3526, allocations: 485.1 kB / 0.5707 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.3526, allocations: 31.72 kB / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.3527, allocations: 4 kB / 0.5707 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.3529, allocations: 19.97 kB / 0.5707 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.353, allocations: 15.98 kB / 0.5708 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.353, allocations: 8 kB / 0.5708 GB, free: 9.766 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.3532, allocations: 205.2 kB / 0.571 GB, free: 9.562 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3532, allocations: 0 / 0.571 GB, free: 9.562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.3536, allocations: 75.81 kB / 0.571 GB, free: 9.488 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.001173/0.3548, allocations: 1.074 MB / 0.5721 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006446/0.3555, allocations: 277 kB / 0.5723 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3555, allocations: 4.062 kB / 0.5723 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.3558, allocations: 177 kB / 0.5725 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.3563, allocations: 48.77 kB / 0.5726 GB, free: 7.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.3604, allocations: 2.978 MB / 0.5755 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.3608, allocations: 0.7632 MB / 0.5762 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.361, allocations: 37.61 kB / 0.5762 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.3611, allocations: 67.41 kB / 0.5763 GB, free: 3.867 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3611, allocations: 0 / 0.5763 GB, free: 3.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.3954, allocations: 6.813 MB / 0.583 GB, free: 13.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.28, allocations: 0 / 0.583 GB, free: 13.24 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.189708449877799]