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.001796/0.001796, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002099/0.002099, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.51/1.51, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2297/0.2297, allocations: 46.93 MB / 357.1 MB, free: 10.32 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.001919/0.001919, allocations: 67.91 kB / 0.491 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1328, allocations: 65.99 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003518/0.1363, allocations: 1.836 MB / 0.5572 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1381, allocations: 1.04 MB / 0.5582 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.651e-05/0.1381, allocations: 0 / 0.5582 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.1384, allocations: 43.73 kB / 0.5582 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.1387, allocations: 71.59 kB / 0.5583 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.1391, allocations: 142.5 kB / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.1394, allocations: 211.2 kB / 0.5586 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.1395, allocations: 9.562 kB / 0.5587 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.1397, allocations: 95.56 kB / 0.5587 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.1399, allocations: 103.6 kB / 0.5588 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.1399, allocations: 12 kB / 0.5589 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.1402, allocations: 139.8 kB / 0.559 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.348e-05/0.1403, allocations: 55.81 kB / 0.559 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.1404, allocations: 83.45 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.1408, allocations: 255 kB / 0.5594 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1408, allocations: 3.938 kB / 0.5594 GB, free: 1.734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1408, allocations: 0 / 0.5594 GB, free: 1.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1408, allocations: 0 / 0.5594 GB, free: 1.734 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001115/0.1419, allocations: 0.5297 MB / 0.5599 GB, free: 1.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1419, allocations: 8.031 kB / 0.5599 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.964e-05/0.142, allocations: 50.73 kB / 0.5599 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003574/0.1424, allocations: 52.75 kB / 0.56 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.1427, allocations: 236 kB / 0.5602 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1427, allocations: 12.61 kB / 0.5602 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.1427, allocations: 8.375 kB / 0.5602 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005713/0.1433, allocations: 270.7 kB / 0.5605 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1433, allocations: 0 / 0.5605 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.1433, allocations: 11.98 kB / 0.5605 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.1433, allocations: 12.22 kB / 0.5605 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.144, allocations: 230.8 kB / 0.5607 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.1453, allocations: 0.8064 MB / 0.5615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.1458, allocations: 183.7 kB / 0.5617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.146, allocations: 98.48 kB / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/0.1461, allocations: 4 kB / 0.5618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.1461, allocations: 42.62 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.1461, allocations: 0 / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001016/0.1471, allocations: 317.3 kB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.563e-05/0.1472, allocations: 114.8 kB / 0.5623 GB, free: 14.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.1475, allocations: 253 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.1475, allocations: 33.7 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1477, allocations: 140 kB / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.1477, allocations: 39.66 kB / 0.5627 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/0.1478, allocations: 41.69 kB / 0.5627 GB, free: 14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1479, allocations: 330.8 kB / 0.5631 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.1482, allocations: 91.89 kB / 0.5631 GB, free: 13.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.1485, allocations: 137 kB / 0.5633 GB, free: 13.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006027/0.1491, allocations: 232.8 kB / 0.5635 GB, free: 13.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1491, allocations: 0 / 0.5635 GB, free: 13.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007088/0.1499, allocations: 277.3 kB / 0.5638 GB, free: 12.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1499, allocations: 4 kB / 0.5638 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.1499, allocations: 8 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1499, allocations: 4.469 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.1502, allocations: 39.89 kB / 0.5638 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1502, allocations: 4 kB / 0.5638 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.1504, allocations: 39.94 kB / 0.5639 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.1504, allocations: 11.94 kB / 0.5639 GB, free: 12.8 MB / 430.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.0001473/0.1506, allocations: 143.9 kB / 0.564 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.1506, allocations: 19.86 kB / 0.564 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005584/0.1512, allocations: 223.2 kB / 0.5642 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1512, allocations: 0 / 0.5642 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.1512, allocations: 4 kB / 0.5642 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1512, allocations: 4 kB / 0.5642 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.1516, allocations: 265.5 kB / 0.5645 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/0.1517, allocations: 15.88 kB / 0.5645 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.1519, allocations: 31.95 kB / 0.5645 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1519, allocations: 0 / 0.5645 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.1519, allocations: 8 kB / 0.5646 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1519, allocations: 0 / 0.5646 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1519, allocations: 0 / 0.5646 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007661/0.1526, allocations: 489.6 kB / 0.565 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.1527, allocations: 93.02 kB / 0.5651 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.1528, allocations: 11.98 kB / 0.5651 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.153, allocations: 19.97 kB / 0.5651 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.1531, allocations: 19.92 kB / 0.5652 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.1531, allocations: 7.984 kB / 0.5652 GB, free: 11.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.1533, allocations: 188.5 kB / 0.5653 GB, free: 11.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1533, allocations: 0 / 0.5653 GB, free: 11.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004453/0.1538, allocations: 79.75 kB / 0.5654 GB, free: 11.11 MB / 430.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.001284/0.1551, allocations: 1.062 MB / 0.5665 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000732/0.1558, allocations: 285 kB / 0.5667 GB, free: 9.719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1558, allocations: 0 / 0.5667 GB, free: 9.719 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.1562, allocations: 177 kB / 0.5669 GB, free: 9.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.1567, allocations: 48.78 kB / 0.5669 GB, free: 9.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.1611, allocations: 2.834 MB / 0.5697 GB, free: 6.516 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.1615, allocations: 0.7436 MB / 0.5704 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.1616, allocations: 37.52 kB / 0.5705 GB, free: 5.711 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.1617, allocations: 47.42 kB / 0.5705 GB, free: 5.668 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1617, allocations: 4 kB / 0.5705 GB, free: 5.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.1913, allocations: 5.981 MB / 0.5764 GB, free: 15.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/8.479, allocations: 4.375 kB / 0.5764 GB, free: 15.85 MB / 446.1 MB " [Timeout remaining time 651] (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: 11.724070864031091]