Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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.001531/0.001531, allocations: 113.1 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.001432/0.001432, allocations: 214.7 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.409/1.409, allocations: 230.6 MB / 257.5 MB, free: 8 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.2152/0.2152, allocations: 46.93 MB / 360.9 MB, free: 4.273 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.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 63.91 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3288, allocations: 66.04 MB / 0.5607 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003521/0.3323, allocations: 1.847 MB / 0.5625 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.3342, allocations: 1.041 MB / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3343, allocations: 0 / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.3346, allocations: 43.77 kB / 0.5635 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.3349, allocations: 71.53 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.3354, allocations: 143.5 kB / 0.5637 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.3357, allocations: 215.2 kB / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.498e-05/0.3358, allocations: 9.547 kB / 0.564 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.3361, allocations: 91.62 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.3363, allocations: 107.6 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.3363, allocations: 8 kB / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.3366, allocations: 135.8 kB / 0.5643 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.3367, allocations: 55.75 kB / 0.5643 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.3368, allocations: 79.53 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.3373, allocations: 257 kB / 0.5647 GB, free: 408 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3373, allocations: 4 kB / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3373, allocations: 4 kB / 0.5647 GB, free: 400 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.3373, allocations: 0 / 0.5647 GB, free: 400 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001181/0.3385, allocations: 473.2 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3385, allocations: 8.031 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.498e-05/0.3386, allocations: 50.73 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/0.339, allocations: 56.75 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.3393, allocations: 170.2 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3393, allocations: 12.59 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.3393, allocations: 12.38 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.3399, allocations: 262.8 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3399, allocations: 4 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.3399, allocations: 4 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.3399, allocations: 12.22 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.3405, allocations: 224.4 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.3417, allocations: 0.7898 MB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.3421, allocations: 183.7 kB / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.3423, allocations: 98.48 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.3424, allocations: 12.11 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.3424, allocations: 38.56 kB / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.3424, allocations: 0 / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009641/0.3434, allocations: 321.3 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.3435, allocations: 106.8 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.3438, allocations: 260.9 kB / 0.5676 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.3438, allocations: 33.7 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3439, allocations: 124 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.3439, allocations: 43.58 kB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.344, allocations: 41.7 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3442, allocations: 334.8 kB / 0.5682 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.3444, allocations: 99.83 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.3447, allocations: 133 kB / 0.5684 GB, free: 12.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005378/0.3453, allocations: 224.9 kB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3453, allocations: 8 kB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006594/0.3459, allocations: 273.2 kB / 0.5689 GB, free: 11.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3459, allocations: 4 kB / 0.5689 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/0.346, allocations: 12 kB / 0.5689 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.346, allocations: 8.156 kB / 0.5689 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.3462, allocations: 35.95 kB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3462, allocations: 4 kB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.3464, allocations: 31.83 kB / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.3465, allocations: 15.92 kB / 0.569 GB, free: 11.65 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: 0 () * 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.0001488/0.3466, allocations: 141.8 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.3467, allocations: 19.86 kB / 0.5692 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004894/0.3472, allocations: 227.6 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.3472, allocations: 0 / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3472, allocations: 4 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3472, allocations: 0 / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.3476, allocations: 228.5 kB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.872e-05/0.3476, allocations: 12 kB / 0.5696 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.3478, allocations: 27.97 kB / 0.5696 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3478, allocations: 4 kB / 0.5696 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3478, allocations: 11.98 kB / 0.5697 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3478, allocations: 0 / 0.5697 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3478, allocations: 0 / 0.5697 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.3485, allocations: 489.6 kB / 0.5701 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.3486, allocations: 19.89 kB / 0.5701 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.3486, allocations: 8 kB / 0.5702 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.3489, allocations: 15.97 kB / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.3489, allocations: 19.92 kB / 0.5702 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.349, allocations: 7.984 kB / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.3492, allocations: 192.5 kB / 0.5704 GB, free: 10.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3492, allocations: 0 / 0.5704 GB, free: 10.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004461/0.3496, allocations: 79.75 kB / 0.5705 GB, free: 10.1 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.001212/0.3508, allocations: 1.063 MB / 0.5715 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006541/0.3515, allocations: 276.8 kB / 0.5718 GB, free: 8.723 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3515, allocations: 0 / 0.5718 GB, free: 8.723 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.3518, allocations: 185.2 kB / 0.5719 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.3523, allocations: 50.02 kB / 0.572 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.3566, allocations: 2.834 MB / 0.5747 GB, free: 5.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.3571, allocations: 0.7437 MB / 0.5755 GB, free: 4.742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.3572, allocations: 45.45 kB / 0.5755 GB, free: 4.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.3573, allocations: 47.42 kB / 0.5756 GB, free: 4.656 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3573, allocations: 0 / 0.5756 GB, free: 4.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.3924, allocations: 6.111 MB / 0.5815 GB, free: 14.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.2, allocations: 3.984 kB / 0.5815 GB, free: 14.7 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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: 14.127323403023183]