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_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.001707/0.001707, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001383/0.001383, allocations: 211.6 kB / 23.73 MB, free: 4.523 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.378/1.378, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2186/0.2186, allocations: 46.96 MB / 360.9 MB, free: 4.031 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_overall_KC,fileNamePrefix="ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 63.91 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3142, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.002935/0.3171, allocations: 1.687 MB / 0.5623 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.3189, allocations: 1.146 MB / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.3189, allocations: 0 / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.3191, allocations: 35.72 kB / 0.5634 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.3194, allocations: 67.7 kB / 0.5635 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.3198, allocations: 179.1 kB / 0.5636 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.3201, allocations: 155.3 kB / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.3201, allocations: 5.594 kB / 0.5638 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.3202, allocations: 55.77 kB / 0.5639 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.3203, allocations: 91.64 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.3204, allocations: 4 kB / 0.5639 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.3206, allocations: 111.8 kB / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.623e-05/0.3207, allocations: 55.75 kB / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.436e-05/0.3207, allocations: 43.73 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.3211, allocations: 244.8 kB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3211, allocations: 0 / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3211, allocations: 0 / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.3211, allocations: 0 / 0.5644 GB, free: 364 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.000647/0.3217, allocations: 413.2 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3218, allocations: 8.031 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.623e-05/0.3218, allocations: 46.73 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.3238, allocations: 196.5 kB / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.3241, allocations: 186.2 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3242, allocations: 8.375 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.3242, allocations: 12.36 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.3248, allocations: 363.8 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3248, allocations: 0 / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.3248, allocations: 0 / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.3249, allocations: 27.97 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006669/0.3256, allocations: 359.6 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.3272, allocations: 0.7411 MB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.3278, allocations: 338.2 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.3281, allocations: 116.9 kB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.3281, allocations: 15.86 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3281, allocations: 30.56 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.3281, allocations: 0 / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009654/0.3291, allocations: 437.1 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.3291, allocations: 51.41 kB / 0.5676 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.3293, allocations: 227.2 kB / 0.5678 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.3294, allocations: 29.7 kB / 0.5678 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.3295, allocations: 120 kB / 0.568 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.3295, allocations: 39.64 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.3296, allocations: 61.64 kB / 0.568 GB, free: 12.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3298, allocations: 326.8 kB / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.33, allocations: 119.8 kB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.3303, allocations: 162.2 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.3308, allocations: 291 kB / 0.5689 GB, free: 11.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3308, allocations: 0 / 0.5689 GB, free: 11.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007089/0.3316, allocations: 360.7 kB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3316, allocations: 8 kB / 0.5693 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3316, allocations: 0 / 0.5693 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3316, allocations: 0 / 0.5693 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02911/0.3607, allocations: 1.463 MB / 0.5707 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04557/0.4063, allocations: 11.66 MB / 0.5821 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.4067, allocations: 35.86 kB / 0.5821 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.4067, allocations: 15.97 kB / 0.5821 GB, free: 13.25 MB / 430.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.0001781/0.4069, allocations: 141.8 kB / 0.5823 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.4069, allocations: 15.91 kB / 0.5823 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.629e-05/0.407, allocations: 33.45 kB / 0.5823 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.407, allocations: 8.094 kB / 0.5823 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.407, allocations: 3.938 kB / 0.5823 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.407, allocations: 0 / 0.5823 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.4074, allocations: 236.5 kB / 0.5825 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4074, allocations: 3.984 kB / 0.5826 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02811/0.4355, allocations: 1.455 MB / 0.584 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/0.4355, allocations: 3.984 kB / 0.584 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/0.4356, allocations: 11.97 kB / 0.584 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04356/0.4791, allocations: 11.67 MB / 0.5954 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4791, allocations: 0 / 0.5954 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/0.4799, allocations: 422.9 kB / 0.5958 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.4799, allocations: 15.91 kB / 0.5958 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.48, allocations: 4.25 kB / 0.5958 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.4803, allocations: 15.98 kB / 0.5958 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.4805, allocations: 59.84 kB / 0.5959 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.4806, allocations: 19.91 kB / 0.5959 GB, free: 14.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.4807, allocations: 171.1 kB / 0.5961 GB, free: 14.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4807, allocations: 0 / 0.5961 GB, free: 14.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000703/0.4814, allocations: 123.9 kB / 0.5962 GB, free: 14.09 MB / 446.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.001153/0.4826, allocations: 0.9714 MB / 0.5971 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02315/0.5057, allocations: 1.416 MB / 0.5985 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.5057, allocations: 0 / 0.5985 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02239/0.5281, allocations: 1.268 MB / 0.5998 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.5285, allocations: 49.52 kB / 0.5998 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.5326, allocations: 2.722 MB / 0.6025 GB, free: 7.543 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.5328, allocations: 139.2 kB / 0.6026 GB, free: 7.387 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.5329, allocations: 49.45 kB / 0.6026 GB, free: 7.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.533, allocations: 47.41 kB / 0.6027 GB, free: 7.293 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.533, allocations: 0 / 0.6027 GB, free: 7.293 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03668/0.5697, allocations: 10.03 MB / 0.6125 GB, free: 13.45 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.73, allocations: 17.78 kB / 0.6125 GB, free: 13.44 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.64682889499818]