Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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.001858/0.001858, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00242/0.00242, allocations: 207.5 kB / 23.73 MB, free: 4.387 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 44.94 MB / 358.8 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 63.91 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3369, allocations: 65.47 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.003447/0.3404, allocations: 1.694 MB / 0.5586 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.3425, allocations: 1.142 MB / 0.5598 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.3426, allocations: 3.938 kB / 0.5598 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.3429, allocations: 31.84 kB / 0.5598 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.3432, allocations: 67.7 kB / 0.5599 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.3437, allocations: 163.3 kB / 0.56 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.344, allocations: 155.3 kB / 0.5602 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.526e-05/0.344, allocations: 13.58 kB / 0.5602 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.764e-05/0.3441, allocations: 59.77 kB / 0.5602 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.3443, allocations: 83.66 kB / 0.5603 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.3443, allocations: 4 kB / 0.5603 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.3445, allocations: 115.8 kB / 0.5604 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.3446, allocations: 51.81 kB / 0.5605 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.189e-05/0.3447, allocations: 39.75 kB / 0.5605 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.3451, allocations: 244.8 kB / 0.5607 GB, free: 3.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3451, allocations: 0 / 0.5607 GB, free: 3.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3451, allocations: 4 kB / 0.5607 GB, free: 3.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3451, allocations: 0 / 0.5607 GB, free: 3.637 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006819/0.3458, allocations: 405.3 kB / 0.5611 GB, free: 3.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3458, allocations: 12.03 kB / 0.5611 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/0.3459, allocations: 50.61 kB / 0.5612 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.3476, allocations: 196.5 kB / 0.5614 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.3479, allocations: 190.2 kB / 0.5616 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3479, allocations: 8.375 kB / 0.5616 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.348, allocations: 8.375 kB / 0.5616 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/0.3486, allocations: 369.5 kB / 0.5619 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3486, allocations: 0 / 0.5619 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.3487, allocations: 4 kB / 0.5619 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/0.3487, allocations: 23.97 kB / 0.562 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007009/0.3494, allocations: 363.6 kB / 0.5623 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.351, allocations: 0.7296 MB / 0.563 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007213/0.3518, allocations: 346 kB / 0.5633 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.352, allocations: 116.8 kB / 0.5635 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.3521, allocations: 7.984 kB / 0.5635 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3521, allocations: 34.56 kB / 0.5635 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.3521, allocations: 0 / 0.5635 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009977/0.3531, allocations: 436.8 kB / 0.5639 GB, free: 252 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.3531, allocations: 51.41 kB / 0.564 GB, free: 188 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.3534, allocations: 231.2 kB / 0.5642 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.3534, allocations: 29.7 kB / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.477e-05/0.3535, allocations: 120 kB / 0.5643 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.3536, allocations: 47.55 kB / 0.5644 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.3537, allocations: 65.58 kB / 0.5644 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3538, allocations: 322.8 kB / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.3541, allocations: 119.8 kB / 0.5649 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.3544, allocations: 154.1 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.355, allocations: 295 kB / 0.5653 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.355, allocations: 3.984 kB / 0.5653 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007927/0.3558, allocations: 345.2 kB / 0.5656 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3558, allocations: 8 kB / 0.5656 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3558, allocations: 8.078 kB / 0.5656 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3558, allocations: 0 / 0.5656 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02304/0.3789, allocations: 1.459 MB / 0.5671 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03926/0.4181, allocations: 11.66 MB / 0.5784 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.4185, allocations: 36.02 kB / 0.5785 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.4185, allocations: 19.97 kB / 0.5785 GB, free: 0.5352 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.4187, allocations: 149.7 kB / 0.5786 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.4188, allocations: 11.91 kB / 0.5787 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.791e-05/0.4189, allocations: 33.45 kB / 0.5787 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.4189, allocations: 4 kB / 0.5787 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.4189, allocations: 0 / 0.5787 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4189, allocations: 4 kB / 0.5787 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.4192, allocations: 244.5 kB / 0.5789 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4192, allocations: 0 / 0.5789 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02286/0.4421, allocations: 1.455 MB / 0.5803 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.4421, allocations: 0 / 0.5803 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.072e-05/0.4422, allocations: 12.08 kB / 0.5804 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03891/0.4811, allocations: 11.69 MB / 0.5918 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4811, allocations: 0 / 0.5918 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007742/0.4818, allocations: 418.5 kB / 0.5922 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.4819, allocations: 19.91 kB / 0.5922 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.4819, allocations: 3.984 kB / 0.5922 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.4822, allocations: 8 kB / 0.5922 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.4824, allocations: 59.84 kB / 0.5923 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.4825, allocations: 24.03 kB / 0.5923 GB, free: 1.652 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.4826, allocations: 171.1 kB / 0.5924 GB, free: 1.484 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4826, allocations: 0 / 0.5924 GB, free: 1.484 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006971/0.4833, allocations: 127.9 kB / 0.5926 GB, free: 1.359 MB / 430.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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/0.4845, allocations: 0.9659 MB / 0.5935 GB, free: 376 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.02008/0.5045, allocations: 1.416 MB / 0.5949 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.5045, allocations: 0 / 0.5949 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01913/0.5237, allocations: 1.272 MB / 0.5961 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.5241, allocations: 35.92 kB / 0.5962 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.5284, allocations: 2.73 MB / 0.5988 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.5285, allocations: 139.2 kB / 0.599 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.5286, allocations: 45.45 kB / 0.599 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.5287, allocations: 51.41 kB / 0.5991 GB, free: 10.56 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5287, allocations: 4 kB / 0.5991 GB, free: 10.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03877/0.5675, allocations: 9.963 MB / 0.6088 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.41, allocations: 7.734 kB / 0.6088 GB, free: 0.793 MB / 446.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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: 16.607273031957448]