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_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.001312/0.001312, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001476/0.001476, allocations: 212.5 kB / 23.73 MB, free: 4.41 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2238/0.2238, allocations: 44.94 MB / 358.8 MB, free: 6.074 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_overall,fileNamePrefix="ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",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.00208/0.00208, allocations: 67.89 kB / 0.4931 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.345, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.00324/0.3483, allocations: 1.789 MB / 0.5587 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.3509, allocations: 1.372 MB / 0.5601 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.351, allocations: 0 / 0.5601 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.3512, allocations: 43.7 kB / 0.5601 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.3515, allocations: 71.64 kB / 0.5602 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006971/0.3522, allocations: 258.9 kB / 0.5604 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.3525, allocations: 207.2 kB / 0.5606 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.47e-05/0.3526, allocations: 13.53 kB / 0.5606 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.3528, allocations: 91.61 kB / 0.5607 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.353, allocations: 99.58 kB / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.353, allocations: 8 kB / 0.5608 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.3534, allocations: 175.7 kB / 0.561 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.627e-05/0.3535, allocations: 59.8 kB / 0.5611 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.056e-05/0.3536, allocations: 71.53 kB / 0.5611 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.3541, allocations: 300.8 kB / 0.5614 GB, free: 2.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3541, allocations: 7.938 kB / 0.5614 GB, free: 2.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3541, allocations: 0 / 0.5614 GB, free: 2.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3541, allocations: 4 kB / 0.5614 GB, free: 2.973 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.00104/0.3551, allocations: 485 kB / 0.5619 GB, free: 2.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3552, allocations: 12.03 kB / 0.5619 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.936e-05/0.3552, allocations: 42.75 kB / 0.5619 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003589/0.3556, allocations: 60.75 kB / 0.562 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.3559, allocations: 174.2 kB / 0.5622 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3559, allocations: 8.609 kB / 0.5622 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.3559, allocations: 12.38 kB / 0.5622 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/0.3565, allocations: 266.7 kB / 0.5624 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3565, allocations: 0 / 0.5624 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.3565, allocations: 8 kB / 0.5625 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/0.3565, allocations: 12.22 kB / 0.5625 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.3571, allocations: 224.4 kB / 0.5627 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.3584, allocations: 0.7664 MB / 0.5634 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.3588, allocations: 191.6 kB / 0.5636 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.359, allocations: 94.48 kB / 0.5637 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.3591, allocations: 4 kB / 0.5637 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3591, allocations: 38.55 kB / 0.5637 GB, free: 432 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.3591, allocations: 0 / 0.5637 GB, free: 432 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009675/0.3601, allocations: 321.4 kB / 0.564 GB, free: 104 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.3602, allocations: 106.8 kB / 0.5641 GB, free: 15.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.3604, allocations: 256.9 kB / 0.5644 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.3605, allocations: 29.7 kB / 0.5644 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3606, allocations: 135.9 kB / 0.5646 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.3606, allocations: 43.69 kB / 0.5646 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.575e-05/0.3607, allocations: 33.86 kB / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3609, allocations: 338.8 kB / 0.5649 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.3612, allocations: 92.2 kB / 0.565 GB, free: 15.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.3615, allocations: 136 kB / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005824/0.3621, allocations: 232.8 kB / 0.5654 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3621, allocations: 0 / 0.5654 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006917/0.3628, allocations: 281.2 kB / 0.5657 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3628, allocations: 8 kB / 0.5657 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.3628, allocations: 11.92 kB / 0.5657 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3628, allocations: 4 kB / 0.5657 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.3631, allocations: 31.97 kB / 0.5657 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.3631, allocations: 7.938 kB / 0.5657 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.3633, allocations: 39.92 kB / 0.5658 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3633, allocations: 11.94 kB / 0.5658 GB, free: 14.24 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.0001385/0.3634, allocations: 137.8 kB / 0.5659 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.802e-05/0.3635, allocations: 19.86 kB / 0.5659 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.364, allocations: 223.2 kB / 0.5661 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.3641, allocations: 4 kB / 0.5661 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3641, allocations: 0 / 0.5661 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3641, allocations: 0 / 0.5661 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.3645, allocations: 216.6 kB / 0.5663 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.3645, allocations: 12 kB / 0.5664 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.3647, allocations: 27.97 kB / 0.5664 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3647, allocations: 0 / 0.5664 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.3647, allocations: 7.984 kB / 0.5664 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3647, allocations: 7.938 kB / 0.5664 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3647, allocations: 192 / 0.5664 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/0.3654, allocations: 0.4898 MB / 0.5669 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.3655, allocations: 23.8 kB / 0.5669 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.3655, allocations: 7.984 kB / 0.5669 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.3658, allocations: 19.97 kB / 0.5669 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.3659, allocations: 19.92 kB / 0.5669 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.3659, allocations: 7.984 kB / 0.5669 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.3661, allocations: 192.4 kB / 0.5671 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3661, allocations: 0 / 0.5671 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004892/0.3666, allocations: 87.73 kB / 0.5672 GB, free: 12.68 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.00133/0.3679, allocations: 1.113 MB / 0.5683 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007064/0.3686, allocations: 281 kB / 0.5686 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3686, allocations: 4 kB / 0.5686 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.369, allocations: 173.1 kB / 0.5687 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.3695, allocations: 56.7 kB / 0.5688 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.3739, allocations: 2.842 MB / 0.5716 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.3741, allocations: 131.5 kB / 0.5717 GB, free: 7.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.3742, allocations: 41.44 kB / 0.5717 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.3743, allocations: 55.41 kB / 0.5718 GB, free: 7.789 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3743, allocations: 4 kB / 0.5718 GB, free: 7.785 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03899/0.4133, allocations: 7.498 MB / 0.5791 GB, free: 480 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.78, allocations: 7.25 kB / 0.5791 GB, free: 476 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.812674418091774]