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.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.001422/0.001422, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.00152/0.00152, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.395/1.395, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2235/0.2235, allocations: 46.93 MB / 360.9 MB, free: 4.262 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,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.89 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3152, allocations: 66.04 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003334/0.3185, allocations: 1.849 MB / 0.5625 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.3201, allocations: 1.033 MB / 0.5635 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.3202, allocations: 0 / 0.5635 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.3204, allocations: 51.69 kB / 0.5635 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.3207, allocations: 59.66 kB / 0.5636 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.3211, allocations: 131.5 kB / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.3214, allocations: 219.2 kB / 0.5639 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.3214, allocations: 9.547 kB / 0.5639 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.3216, allocations: 95.56 kB / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.3218, allocations: 107.6 kB / 0.5641 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.3218, allocations: 8 kB / 0.5641 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.3221, allocations: 123.8 kB / 0.5643 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.548e-05/0.3222, allocations: 55.75 kB / 0.5643 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.3223, allocations: 79.53 kB / 0.5644 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.3227, allocations: 248.9 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3227, allocations: 3.938 kB / 0.5646 GB, free: 396 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3227, allocations: 8 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.3227, allocations: 0 / 0.5646 GB, free: 388 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.001052/0.3237, allocations: 469.2 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3238, allocations: 8.031 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.958e-05/0.3238, allocations: 50.73 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.3242, allocations: 60.75 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.3245, allocations: 174.2 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3245, allocations: 12.59 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.3245, allocations: 8.375 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.3251, allocations: 270.8 kB / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3251, allocations: 0 / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.3251, allocations: 4 kB / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.3251, allocations: 20.16 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.3257, allocations: 216.5 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.3268, allocations: 0.782 MB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.3272, allocations: 187.7 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.3275, allocations: 102.6 kB / 0.5669 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.3275, allocations: 3.984 kB / 0.5669 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.3276, allocations: 42.55 kB / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.3276, allocations: 0 / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009183/0.3285, allocations: 321.4 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.3286, allocations: 102.8 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.3289, allocations: 264.9 kB / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3289, allocations: 25.7 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.329, allocations: 136 kB / 0.5678 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.329, allocations: 39.64 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/0.3291, allocations: 33.7 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3292, allocations: 338.7 kB / 0.5682 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.3295, allocations: 104.2 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.3298, allocations: 129 kB / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.3303, allocations: 232.8 kB / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3303, allocations: 4 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006558/0.331, allocations: 277.2 kB / 0.5689 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.331, allocations: 4 kB / 0.5689 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.331, allocations: 15.98 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.331, allocations: 4.156 kB / 0.5689 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.3313, allocations: 35.97 kB / 0.5689 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3313, allocations: 0 / 0.5689 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.3315, allocations: 35.81 kB / 0.569 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.3315, allocations: 11.94 kB / 0.569 GB, free: 11.64 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.0001379/0.3316, allocations: 145.7 kB / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.3317, allocations: 23.86 kB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.3322, allocations: 219.2 kB / 0.5693 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3322, allocations: 4 kB / 0.5694 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3322, allocations: 0 / 0.5694 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3322, allocations: 0 / 0.5694 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.3326, allocations: 236.5 kB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/0.3326, allocations: 12 kB / 0.5696 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.3328, allocations: 27.95 kB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3328, allocations: 8 kB / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3328, allocations: 4 kB / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3328, allocations: 4 kB / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3328, allocations: 4.125 kB / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/0.3335, allocations: 493.6 kB / 0.5701 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.3335, allocations: 23.89 kB / 0.5701 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.479e-05/0.3336, allocations: 4 kB / 0.5701 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.3338, allocations: 15.98 kB / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.3339, allocations: 19.91 kB / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3339, allocations: 8 kB / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.3341, allocations: 196.4 kB / 0.5704 GB, free: 10.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3341, allocations: 0 / 0.5704 GB, free: 10.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.3345, allocations: 75.77 kB / 0.5704 GB, free: 10.07 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.00114/0.3356, allocations: 1.051 MB / 0.5715 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006388/0.3363, allocations: 288.8 kB / 0.5717 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3363, allocations: 0 / 0.5717 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.3366, allocations: 181.3 kB / 0.5719 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.3371, allocations: 36.34 kB / 0.5719 GB, free: 8.465 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.3411, allocations: 2.838 MB / 0.5747 GB, free: 5.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.3415, allocations: 0.7359 MB / 0.5754 GB, free: 4.734 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.3416, allocations: 45.44 kB / 0.5755 GB, free: 4.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.998e-05/0.3417, allocations: 55.41 kB / 0.5755 GB, free: 4.641 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3417, allocations: 0 / 0.5755 GB, free: 4.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.3726, allocations: 6.019 MB / 0.5814 GB, free: 14.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.17, allocations: 19.05 kB / 0.5814 GB, free: 14.77 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_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_laminar.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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.082551218103617]