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.00138/0.00138, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001428/0.001428, allocations: 217.1 kB / 23.73 MB, free: 4.164 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.832 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.2429/0.2429, allocations: 46.96 MB / 360.9 MB, free: 4.047 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.002046/0.002046, allocations: 67.91 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3482, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003256/0.3514, allocations: 1.8 MB / 0.5624 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3531, allocations: 0.9318 MB / 0.5633 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.3532, allocations: 0 / 0.5633 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.3534, allocations: 47.7 kB / 0.5633 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.3537, allocations: 63.66 kB / 0.5634 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.3541, allocations: 135.5 kB / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.3544, allocations: 215.2 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.3544, allocations: 9.547 kB / 0.5637 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.3546, allocations: 99.61 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.3548, allocations: 99.58 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.3548, allocations: 8 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.355, allocations: 107.9 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.024e-05/0.3551, allocations: 59.69 kB / 0.5641 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.214e-05/0.3552, allocations: 67.64 kB / 0.5642 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.3556, allocations: 253 kB / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3556, allocations: 0 / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3556, allocations: 7.938 kB / 0.5644 GB, free: 336 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3556, allocations: 0 / 0.5644 GB, free: 336 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.0009985/0.3566, allocations: 469.2 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.3566, allocations: 12.03 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.228e-05/0.3567, allocations: 46.73 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.3571, allocations: 60.75 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.3573, allocations: 170.2 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.3574, allocations: 8.609 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.3574, allocations: 12.38 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.3579, allocations: 266.8 kB / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3579, allocations: 0 / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.3579, allocations: 8 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.358, allocations: 8.234 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005821/0.3586, allocations: 228.4 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.3597, allocations: 0.7703 MB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.3601, allocations: 183.7 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.3604, allocations: 98.48 kB / 0.5667 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.3604, allocations: 8.125 kB / 0.5667 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3605, allocations: 34.56 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.3605, allocations: 4 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009526/0.3614, allocations: 317.3 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.3615, allocations: 106.8 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.3618, allocations: 260.9 kB / 0.5674 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.3618, allocations: 29.7 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3619, allocations: 131.9 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.3619, allocations: 47.62 kB / 0.5676 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.362, allocations: 33.7 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3622, allocations: 338.8 kB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.3625, allocations: 95.95 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.3627, allocations: 134.7 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/0.3633, allocations: 229.2 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3633, allocations: 4 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000695/0.364, allocations: 281.2 kB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.364, allocations: 8 kB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.364, allocations: 4 kB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3641, allocations: 4 kB / 0.5686 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.3643, allocations: 35.95 kB / 0.5687 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3643, allocations: 4 kB / 0.5687 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.3645, allocations: 31.88 kB / 0.5687 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.3645, allocations: 16.05 kB / 0.5687 GB, free: 11.62 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.0001352/0.3647, allocations: 141.8 kB / 0.5689 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.3648, allocations: 23.86 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.3653, allocations: 227.1 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3653, allocations: 7.984 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3653, allocations: 0 / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3653, allocations: 0 / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.3657, allocations: 212.6 kB / 0.5693 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/0.3657, allocations: 12 kB / 0.5693 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.3659, allocations: 31.95 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3659, allocations: 4 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.3659, allocations: 0 / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3659, allocations: 4 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3659, allocations: 0 / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.3666, allocations: 497.5 kB / 0.5698 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.3667, allocations: 23.84 kB / 0.5699 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.3667, allocations: 4 kB / 0.5699 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.3669, allocations: 15.98 kB / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.367, allocations: 23.91 kB / 0.5699 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.367, allocations: 4 kB / 0.5699 GB, free: 10.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002543/0.3673, allocations: 192.4 kB / 0.5701 GB, free: 10.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3673, allocations: 0 / 0.5701 GB, free: 10.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004207/0.3677, allocations: 71.81 kB / 0.5702 GB, free: 10.08 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.001192/0.3689, allocations: 1.062 MB / 0.5712 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006617/0.3696, allocations: 284.8 kB / 0.5715 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3696, allocations: 0 / 0.5715 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.3699, allocations: 181.3 kB / 0.5716 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.3704, allocations: 48.27 kB / 0.5717 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.3746, allocations: 2.827 MB / 0.5744 GB, free: 5.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.3747, allocations: 123.5 kB / 0.5746 GB, free: 5.355 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.3749, allocations: 45.45 kB / 0.5746 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.375, allocations: 55.41 kB / 0.5747 GB, free: 5.258 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.375, allocations: 0 / 0.5747 GB, free: 5.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03621/0.4112, allocations: 6.737 MB / 0.5812 GB, free: 14.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.38, allocations: 11.75 kB / 0.5812 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.475024993065745]