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.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.00175/0.00175, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001944/0.001944, allocations: 218.2 kB / 23.73 MB, free: 4.164 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2341/0.2341, 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,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.91 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3463, allocations: 66.04 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.00328/0.3496, allocations: 1.788 MB / 0.5624 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.3519, allocations: 1.391 MB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.411e-05/0.352, allocations: 0 / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.3523, allocations: 27.78 kB / 0.5638 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.3525, allocations: 71.66 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.3532, allocations: 254.9 kB / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.3535, allocations: 211.1 kB / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.3535, allocations: 13.53 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.3538, allocations: 91.69 kB / 0.5644 GB, free: 360 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.3539, allocations: 99.58 kB / 0.5645 GB, free: 260 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.354, allocations: 8 kB / 0.5645 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.3543, allocations: 179.7 kB / 0.5646 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.3544, allocations: 55.73 kB / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3545, allocations: 67.66 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004901/0.355, allocations: 312.7 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.355, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.355, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.355, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.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.001098/0.3561, allocations: 481.1 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3562, allocations: 8.031 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.307e-05/0.3562, allocations: 50.73 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003581/0.3566, allocations: 56.75 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.3569, allocations: 174.2 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3569, allocations: 12.61 kB / 0.5658 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.3569, allocations: 12.31 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005477/0.3575, allocations: 266.8 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3575, allocations: 0 / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.3575, allocations: 4 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.3576, allocations: 16.22 kB / 0.5661 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.3582, allocations: 224.4 kB / 0.5663 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.3594, allocations: 0.7664 MB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.3598, allocations: 179.7 kB / 0.5672 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.3601, allocations: 106.5 kB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.3601, allocations: 0 / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.3601, allocations: 42.69 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.3601, allocations: 0 / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009904/0.3611, allocations: 317.4 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.3612, allocations: 106.8 kB / 0.5678 GB, free: 12.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.3615, allocations: 260.9 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.3615, allocations: 29.7 kB / 0.568 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3616, allocations: 135.9 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.3617, allocations: 35.69 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.3618, allocations: 41.69 kB / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3619, allocations: 331.1 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.3622, allocations: 99.92 kB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.3625, allocations: 129 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/0.3631, allocations: 232.8 kB / 0.569 GB, free: 11.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3631, allocations: 0 / 0.569 GB, free: 11.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006747/0.3638, allocations: 277.2 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3638, allocations: 8.156 kB / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.3638, allocations: 12 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3638, allocations: 0 / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.3641, allocations: 43.89 kB / 0.5693 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3641, allocations: 0 / 0.5693 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.3643, allocations: 39.8 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.3643, allocations: 7.938 kB / 0.5694 GB, free: 10.93 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.0001389/0.3644, allocations: 141.8 kB / 0.5695 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/0.3645, allocations: 27.8 kB / 0.5695 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/0.365, allocations: 219.2 kB / 0.5697 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.365, allocations: 0 / 0.5697 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.365, allocations: 0 / 0.5697 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3651, allocations: 4 kB / 0.5697 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.3655, allocations: 216.6 kB / 0.57 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.139e-05/0.3655, allocations: 19.92 kB / 0.57 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.3657, allocations: 31.97 kB / 0.57 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3657, allocations: 4 kB / 0.57 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.3657, allocations: 4 kB / 0.57 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.3657, allocations: 4.172 kB / 0.57 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3657, allocations: 0 / 0.57 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007405/0.3664, allocations: 493.5 kB / 0.5705 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.3665, allocations: 27.78 kB / 0.5705 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.3665, allocations: 7.938 kB / 0.5705 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.3668, allocations: 23.97 kB / 0.5705 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.3668, allocations: 11.92 kB / 0.5706 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.3669, allocations: 8 kB / 0.5706 GB, free: 9.629 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.3671, allocations: 196.4 kB / 0.5708 GB, free: 9.441 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3671, allocations: 0 / 0.5708 GB, free: 9.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004838/0.3675, allocations: 87.73 kB / 0.5708 GB, free: 9.355 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.001374/0.3689, allocations: 1.105 MB / 0.5719 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000703/0.3696, allocations: 284.7 kB / 0.5722 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3696, allocations: 320 / 0.5722 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.37, allocations: 181.2 kB / 0.5724 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.3705, allocations: 48.41 kB / 0.5724 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.3749, allocations: 2.85 MB / 0.5752 GB, free: 4.707 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.375, allocations: 127.5 kB / 0.5753 GB, free: 4.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.3752, allocations: 49.44 kB / 0.5754 GB, free: 4.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3753, allocations: 55.41 kB / 0.5754 GB, free: 4.461 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3753, allocations: 0 / 0.5754 GB, free: 4.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/0.4104, allocations: 7.496 MB / 0.5827 GB, free: 13.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.54, allocations: 5.766 kB / 0.5827 GB, free: 13.14 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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.676987579092383]