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_laminar_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.001286/0.001286, 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.001532/0.001532, allocations: 211.1 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.413/1.413, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2232/0.2232, allocations: 46.96 MB / 360.9 MB, free: 4.016 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_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 59.91 kB / 0.4961 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3178, allocations: 66.05 MB / 0.5606 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003038/0.3208, allocations: 1.69 MB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.322, allocations: 0.6944 MB / 0.5629 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.322, allocations: 0 / 0.5629 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.3222, allocations: 27.84 kB / 0.563 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.3225, allocations: 71.7 kB / 0.563 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.3227, allocations: 67.23 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.3229, allocations: 151.3 kB / 0.5633 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.323, allocations: 9.578 kB / 0.5633 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.875e-05/0.3231, allocations: 59.72 kB / 0.5633 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.3232, allocations: 87.64 kB / 0.5634 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3233, allocations: 8 kB / 0.5634 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.3234, allocations: 39.92 kB / 0.5634 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.661e-05/0.3235, allocations: 47.81 kB / 0.5635 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.775e-05/0.3235, allocations: 51.62 kB / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.3238, allocations: 177.1 kB / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3238, allocations: 0 / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3238, allocations: 0 / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3238, allocations: 0 / 0.5637 GB, free: 0.8945 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.000679/0.3245, allocations: 401.4 kB / 0.5641 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3246, allocations: 11.97 kB / 0.5641 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.169e-05/0.3246, allocations: 50.72 kB / 0.5642 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000586/0.3252, allocations: 76.7 kB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.3255, allocations: 162.2 kB / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3255, allocations: 4.375 kB / 0.5644 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.3255, allocations: 12.38 kB / 0.5644 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.326, allocations: 252.1 kB / 0.5646 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.326, allocations: 4 kB / 0.5646 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.326, allocations: 4 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.3261, allocations: 23.97 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.3266, allocations: 239.7 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.3278, allocations: 0.6009 MB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.3282, allocations: 222.3 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.3284, allocations: 84.81 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3284, allocations: 3.984 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.3284, allocations: 38.56 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.3284, allocations: 0 / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.000683/0.3291, allocations: 285.3 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3291, allocations: 55.41 kB / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.3294, allocations: 231.1 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.3294, allocations: 29.7 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.3295, allocations: 116 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.3295, allocations: 55.5 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.3296, allocations: 37.69 kB / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3298, allocations: 330.8 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.3299, allocations: 79.89 kB / 0.567 GB, free: 13.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3301, allocations: 111.3 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.3305, allocations: 211.1 kB / 0.5673 GB, free: 13.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.3305, allocations: 4.094 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004969/0.331, allocations: 244.8 kB / 0.5675 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3311, allocations: 11.98 kB / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3311, allocations: 4.094 kB / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.3311, allocations: 4 kB / 0.5675 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/0.3338, allocations: 267.5 kB / 0.5678 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.3441, allocations: 8.604 MB / 0.5762 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.3444, allocations: 31.8 kB / 0.5762 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.3444, allocations: 7.984 kB / 0.5762 GB, free: 3.145 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.0001548/0.3446, allocations: 141.8 kB / 0.5764 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.3446, allocations: 15.91 kB / 0.5764 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000515/0.3452, allocations: 242.9 kB / 0.5766 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3452, allocations: 4 kB / 0.5766 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-07/0.3452, allocations: 0 / 0.5766 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3452, allocations: 0 / 0.5766 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.3454, allocations: 212.5 kB / 0.5768 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3454, allocations: 0 / 0.5768 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/0.3472, allocations: 223.7 kB / 0.577 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3472, allocations: 0 / 0.577 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.3472, allocations: 3.984 kB / 0.577 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008114/0.3553, allocations: 8.12 MB / 0.585 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3553, allocations: 4.031 kB / 0.585 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.3559, allocations: 291.2 kB / 0.5853 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.3559, allocations: 19.84 kB / 0.5853 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.3559, allocations: 7.953 kB / 0.5853 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.3561, allocations: 12.2 kB / 0.5853 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.3562, allocations: 31.94 kB / 0.5853 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.3562, allocations: 3.938 kB / 0.5853 GB, free: 9.086 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.3564, allocations: 187.2 kB / 0.5855 GB, free: 8.902 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3564, allocations: 0 / 0.5855 GB, free: 8.902 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004285/0.3569, allocations: 64 kB / 0.5856 GB, free: 8.84 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.0007792/0.3576, allocations: 0.8232 MB / 0.5864 GB, free: 7.992 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.3598, allocations: 0.6036 MB / 0.587 GB, free: 7.391 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3598, allocations: 0 / 0.587 GB, free: 7.391 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.3613, allocations: 412 kB / 0.5874 GB, free: 6.992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3616, allocations: 46.56 kB / 0.5874 GB, free: 6.949 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.365, allocations: 2.537 MB / 0.5899 GB, free: 4.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.3651, allocations: 152.4 kB / 0.59 GB, free: 4.133 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.3654, allocations: 109.5 kB / 0.5901 GB, free: 4.027 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.3656, allocations: 91.36 kB / 0.5902 GB, free: 3.941 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3656, allocations: 0 / 0.5902 GB, free: 3.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03822/0.4039, allocations: 12.42 MB / 0.6023 GB, free: 7.688 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.23, allocations: 8 kB / 0.6024 GB, free: 7.68 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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: 14.169496376998723]