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_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.001389/0.001389, 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.001791/0.001791, allocations: 210.9 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.472/1.472, 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.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.2202/0.2202, allocations: 44.93 MB / 358.8 MB, free: 6.031 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_laminar_KC,fileNamePrefix="ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_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.002088/0.002088, allocations: 59.91 kB / 0.4931 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3315, allocations: 65.49 MB / 0.557 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003155/0.3347, allocations: 1.675 MB / 0.5586 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.336, allocations: 0.6983 MB / 0.5593 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.336, allocations: 0 / 0.5593 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.3363, allocations: 23.84 kB / 0.5593 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.3365, allocations: 75.7 kB / 0.5594 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.3367, allocations: 59.7 kB / 0.5595 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.337, allocations: 155.4 kB / 0.5596 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.337, allocations: 9.531 kB / 0.5596 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.3371, allocations: 55.77 kB / 0.5597 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.3373, allocations: 79.66 kB / 0.5598 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.3373, allocations: 8 kB / 0.5598 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.3374, allocations: 47.91 kB / 0.5598 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.3375, allocations: 47.77 kB / 0.5599 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.3376, allocations: 51.73 kB / 0.5599 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.3379, allocations: 177 kB / 0.5601 GB, free: 4.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3379, allocations: 0 / 0.5601 GB, free: 4.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3379, allocations: 0 / 0.5601 GB, free: 4.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3379, allocations: 0 / 0.5601 GB, free: 4.324 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.0006885/0.3386, allocations: 401.3 kB / 0.5605 GB, free: 3.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3386, allocations: 8.031 kB / 0.5605 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.302e-05/0.3387, allocations: 54.66 kB / 0.5605 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005142/0.3392, allocations: 76.77 kB / 0.5606 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.3394, allocations: 162.2 kB / 0.5607 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3395, allocations: 8.375 kB / 0.5608 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.3395, allocations: 8.375 kB / 0.5608 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.34, allocations: 256.1 kB / 0.561 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.34, allocations: 0 / 0.561 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.34, allocations: 4 kB / 0.561 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/0.34, allocations: 23.97 kB / 0.561 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.3406, allocations: 243.7 kB / 0.5613 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.3418, allocations: 0.601 MB / 0.5619 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.3422, allocations: 218.3 kB / 0.5621 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.3424, allocations: 80.83 kB / 0.5621 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.3425, allocations: 3.984 kB / 0.5621 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3425, allocations: 38.56 kB / 0.5622 GB, free: 2.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3425, allocations: 0 / 0.5622 GB, free: 2.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.000699/0.3432, allocations: 289 kB / 0.5625 GB, free: 1.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3432, allocations: 55.34 kB / 0.5625 GB, free: 1.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.3435, allocations: 231.1 kB / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.3435, allocations: 29.7 kB / 0.5628 GB, free: 1.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.3436, allocations: 116 kB / 0.5629 GB, free: 1.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.3436, allocations: 55.67 kB / 0.5629 GB, free: 1.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.3437, allocations: 45.62 kB / 0.563 GB, free: 1.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3439, allocations: 330.8 kB / 0.5633 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.3441, allocations: 79.91 kB / 0.5634 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.3443, allocations: 114.3 kB / 0.5635 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.3447, allocations: 207.1 kB / 0.5637 GB, free: 448 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3447, allocations: 4 kB / 0.5637 GB, free: 444 kB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000525/0.3452, allocations: 241.3 kB / 0.5639 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3453, allocations: 8 kB / 0.5639 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3453, allocations: 0 / 0.5639 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3453, allocations: 0 / 0.5639 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/0.3477, allocations: 275.6 kB / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.3581, allocations: 8.611 MB / 0.5726 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.3584, allocations: 27.84 kB / 0.5726 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.3584, allocations: 7.984 kB / 0.5726 GB, free: 6.574 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.0001696/0.3586, allocations: 149.9 kB / 0.5728 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.3586, allocations: 15.91 kB / 0.5728 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005508/0.3592, allocations: 246.8 kB / 0.573 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3592, allocations: 0 / 0.573 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.3592, allocations: 0 / 0.573 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3592, allocations: 0 / 0.573 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.3594, allocations: 212.5 kB / 0.5732 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3594, allocations: 0 / 0.5732 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.3611, allocations: 215.6 kB / 0.5734 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3611, allocations: 3.984 kB / 0.5734 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.3612, allocations: 8 kB / 0.5734 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008371/0.3695, allocations: 8.124 MB / 0.5814 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3695, allocations: 0 / 0.5814 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.37, allocations: 298.8 kB / 0.5816 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.3701, allocations: 27.83 kB / 0.5817 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.3701, allocations: 4 kB / 0.5817 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.3704, allocations: 11.98 kB / 0.5817 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.3704, allocations: 19.95 kB / 0.5817 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.3705, allocations: 11.94 kB / 0.5817 GB, free: 12.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.3706, allocations: 179.2 kB / 0.5819 GB, free: 12.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3706, allocations: 4 kB / 0.5819 GB, free: 12.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000456/0.3711, allocations: 71.94 kB / 0.582 GB, free: 12.25 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.0008446/0.3719, allocations: 0.8215 MB / 0.5828 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.3741, allocations: 0.6011 MB / 0.5833 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3741, allocations: 0 / 0.5833 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.3755, allocations: 411.9 kB / 0.5837 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.3758, allocations: 39.11 kB / 0.5838 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.3795, allocations: 2.554 MB / 0.5863 GB, free: 7.711 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.3797, allocations: 144.4 kB / 0.5864 GB, free: 7.547 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003763/0.3801, allocations: 113.5 kB / 0.5865 GB, free: 7.438 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.3803, allocations: 91.36 kB / 0.5866 GB, free: 7.352 MB / 430.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3803, allocations: 0 / 0.5866 GB, free: 7.352 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04278/0.4231, allocations: 12.31 MB / 0.5986 GB, free: 11.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.91, allocations: 6.562 kB / 0.5986 GB, free: 11.21 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.974399378988892]