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.001699/0.001699, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002044/0.002044, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2233/0.2233, allocations: 46.94 MB / 360.9 MB, free: 4.348 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.002052/0.002052, allocations: 67.88 kB / 0.4962 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3326, allocations: 66.04 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003375/0.336, allocations: 1.804 MB / 0.5624 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3375, allocations: 0.8616 MB / 0.5633 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.3375, allocations: 0 / 0.5633 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.3378, allocations: 47.73 kB / 0.5633 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.3381, allocations: 67.66 kB / 0.5634 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.3383, allocations: 87.72 kB / 0.5635 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.3386, allocations: 147.3 kB / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.3386, allocations: 9.062 kB / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.3388, allocations: 75.62 kB / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.3389, allocations: 75.67 kB / 0.5638 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.339, allocations: 4 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.3392, allocations: 167.8 kB / 0.5639 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.3393, allocations: 43.81 kB / 0.564 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.972e-05/0.3394, allocations: 51.67 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.3397, allocations: 209 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3397, allocations: 0 / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3397, allocations: 3.938 kB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3397, allocations: 0 / 0.5642 GB, free: 0.8047 MB / 398.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.0007319/0.3405, allocations: 373.6 kB / 0.5646 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3405, allocations: 12.03 kB / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.257e-05/0.3406, allocations: 38.75 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.3406, allocations: 24.83 kB / 0.5647 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.3408, allocations: 142.3 kB / 0.5648 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.3409, allocations: 8.375 kB / 0.5648 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.3409, allocations: 15.94 kB / 0.5648 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.3413, allocations: 169.5 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3413, allocations: 0 / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3413, allocations: 4 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/0.3413, allocations: 23.92 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.3417, allocations: 167.8 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008473/0.3425, allocations: 459.3 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.3429, allocations: 154.4 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.3431, allocations: 52.81 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.3431, allocations: 7.938 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.3432, allocations: 34.55 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.3432, allocations: 0 / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006077/0.3438, allocations: 201.4 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.3438, allocations: 55.41 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.3441, allocations: 195.6 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3441, allocations: 25.7 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.3442, allocations: 112.1 kB / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.3442, allocations: 35.69 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.3443, allocations: 29.72 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.3445, allocations: 326.8 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.3446, allocations: 63.81 kB / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.3448, allocations: 66.52 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.3451, allocations: 130.4 kB / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3451, allocations: 4 kB / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003541/0.3454, allocations: 157.5 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3455, allocations: 6.344 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3455, allocations: 4.453 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3455, allocations: 4 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.3457, allocations: 47.92 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008668/0.3466, allocations: 1.223 MB / 0.5684 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.3467, allocations: 19.91 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3467, allocations: 7.938 kB / 0.5685 GB, free: 12.21 MB / 414.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.0002212/0.347, allocations: 138 kB / 0.5686 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.347, allocations: 23.83 kB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.3474, allocations: 178.9 kB / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3474, allocations: 0 / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3474, allocations: 0 / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3474, allocations: 96 / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.3477, allocations: 208.5 kB / 0.569 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.3477, allocations: 0 / 0.569 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.3479, allocations: 43.98 kB / 0.569 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3479, allocations: 4 kB / 0.569 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.348, allocations: 7.984 kB / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008583/0.3488, allocations: 1.215 MB / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3488, allocations: 192 / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.3492, allocations: 255.3 kB / 0.5705 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.3492, allocations: 15.92 kB / 0.5705 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.3493, allocations: 3.938 kB / 0.5705 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3494, allocations: 7.938 kB / 0.5705 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.3494, allocations: 15.98 kB / 0.5705 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.3494, allocations: 7.984 kB / 0.5705 GB, free: 9.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.3496, allocations: 153.1 kB / 0.5707 GB, free: 9.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3496, allocations: 0 / 0.5707 GB, free: 9.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000313/0.3499, allocations: 47.88 kB / 0.5707 GB, free: 9.777 MB / 414.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.0008233/0.3507, allocations: 0.8137 MB / 0.5715 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.3512, allocations: 143.9 kB / 0.5716 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3512, allocations: 4.125 kB / 0.5716 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.3515, allocations: 87.92 kB / 0.5717 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.3518, allocations: 25.67 kB / 0.5718 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.3546, allocations: 2.163 MB / 0.5739 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.355, allocations: 0.7279 MB / 0.5746 GB, free: 5.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.426e-05/0.3551, allocations: 37.05 kB / 0.5746 GB, free: 5.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.3552, allocations: 35.42 kB / 0.5746 GB, free: 5.602 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3552, allocations: 0 / 0.5746 GB, free: 5.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/0.3885, allocations: 4.752 MB / 0.5793 GB, free: 1.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.6, allocations: 4.062 kB / 0.5793 GB, free: 1.023 MB / 414.1 MB " [Timeout remaining time 647] (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.602906531887129]