Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.001775/0.001775, 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.00204/0.00204, allocations: 212.3 kB / 23.73 MB, free: 4.16 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2273/0.2273, allocations: 44.94 MB / 358.9 MB, free: 6.012 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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.002958/0.002958, allocations: 67.89 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3282, allocations: 65.47 MB / 0.557 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003755/0.3319, allocations: 1.942 MB / 0.5589 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3335, allocations: 0.7839 MB / 0.5597 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.3336, allocations: 0 / 0.5597 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.3339, allocations: 63.66 kB / 0.5597 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000385/0.3343, allocations: 119.4 kB / 0.5598 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.3346, allocations: 75.77 kB / 0.5599 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003936/0.3349, allocations: 310.6 kB / 0.5602 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.9e-05/0.335, allocations: 12.58 kB / 0.5602 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.3353, allocations: 135.4 kB / 0.5603 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.3355, allocations: 151.3 kB / 0.5605 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.3355, allocations: 8 kB / 0.5605 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.3357, allocations: 79.88 kB / 0.5606 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3359, allocations: 71.62 kB / 0.5606 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.336, allocations: 87.41 kB / 0.5607 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.3364, allocations: 340.3 kB / 0.561 GB, free: 3.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3364, allocations: 0 / 0.561 GB, free: 3.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3364, allocations: 0 / 0.561 GB, free: 3.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3364, allocations: 0 / 0.561 GB, free: 3.336 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009051/0.3374, allocations: 0.4975 MB / 0.5615 GB, free: 2.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3374, allocations: 11.97 kB / 0.5615 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.574e-05/0.3375, allocations: 66.72 kB / 0.5616 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.3375, allocations: 32.75 kB / 0.5616 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.3379, allocations: 200.3 kB / 0.5618 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.3379, allocations: 20.66 kB / 0.5618 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.3379, allocations: 27.98 kB / 0.5619 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006728/0.3386, allocations: 393.9 kB / 0.5623 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3386, allocations: 0 / 0.5623 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.3387, allocations: 8 kB / 0.5623 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.363e-05/0.3387, allocations: 32.62 kB / 0.5623 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007596/0.3395, allocations: 410.2 kB / 0.5627 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.3409, allocations: 0.8105 MB / 0.5635 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.3414, allocations: 254.3 kB / 0.5637 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.3416, allocations: 92.77 kB / 0.5638 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.3416, allocations: 4 kB / 0.5638 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.3417, allocations: 34.56 kB / 0.5638 GB, free: 348 kB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.3417, allocations: 0 / 0.5638 GB, free: 348 kB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.000775/0.3424, allocations: 341.1 kB / 0.5642 GB, free: 0 / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.3425, allocations: 55.41 kB / 0.5642 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.3429, allocations: 356.5 kB / 0.5646 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.3429, allocations: 25.7 kB / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.3431, allocations: 160.3 kB / 0.5647 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.3431, allocations: 55.53 kB / 0.5648 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.3432, allocations: 49.69 kB / 0.5648 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.3434, allocations: 346.8 kB / 0.5652 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3436, allocations: 91.91 kB / 0.5653 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.3439, allocations: 141.9 kB / 0.5654 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.3443, allocations: 248.4 kB / 0.5656 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3444, allocations: 4 kB / 0.5656 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005826/0.3449, allocations: 305 kB / 0.5659 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.202e-05/0.345, allocations: 8 kB / 0.5659 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.345, allocations: 0 / 0.5659 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.345, allocations: 4 kB / 0.5659 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.3456, allocations: 115.8 kB / 0.566 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.348, allocations: 3.672 MB / 0.5696 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.3482, allocations: 35.8 kB / 0.5697 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.3482, allocations: 8.562 kB / 0.5697 GB, free: 10.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * 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.0002258/0.3485, allocations: 185.7 kB / 0.5698 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.3485, allocations: 31.75 kB / 0.5699 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007131/0.3492, allocations: 321.8 kB / 0.5702 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3492, allocations: 7.984 kB / 0.5702 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3493, allocations: 0 / 0.5702 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3493, allocations: 0 / 0.5702 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.3496, allocations: 260.7 kB / 0.5704 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3496, allocations: 3.938 kB / 0.5704 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.3501, allocations: 115.9 kB / 0.5706 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3501, allocations: 0 / 0.5706 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3501, allocations: 8 kB / 0.5706 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/0.3525, allocations: 3.661 MB / 0.5741 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3525, allocations: 0 / 0.5741 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.353, allocations: 359 kB / 0.5745 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.3531, allocations: 31.75 kB / 0.5745 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.3532, allocations: 15.98 kB / 0.5745 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.3533, allocations: 4 kB / 0.5745 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.3534, allocations: 16.16 kB / 0.5745 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3534, allocations: 8 kB / 0.5746 GB, free: 4.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002827/0.3537, allocations: 259 kB / 0.5748 GB, free: 4.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3537, allocations: 0 / 0.5748 GB, free: 4.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.354, allocations: 75.86 kB / 0.5749 GB, free: 4.586 MB / 414.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 (15): * Single equations (assignments): 9 * 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.001023/0.3551, allocations: 0.9073 MB / 0.5758 GB, free: 3.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009071/0.356, allocations: 302.4 kB / 0.576 GB, free: 3.359 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.356, allocations: 0 / 0.576 GB, free: 3.359 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.3566, allocations: 196.2 kB / 0.5762 GB, free: 3.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.357, allocations: 69.95 kB / 0.5763 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.3615, allocations: 3.385 MB / 0.5796 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.3617, allocations: 193.1 kB / 0.5798 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000174/0.3619, allocations: 66.22 kB / 0.5799 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.362, allocations: 75.41 kB / 0.5799 GB, free: 15.25 MB / 430.1 MB Notification: Performance of SimCode: time 6.32e-07/0.362, allocations: 0 / 0.5799 GB, free: 15.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.3997, allocations: 9.589 MB / 0.5893 GB, free: 5.945 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.02, allocations: 2.578 kB / 0.5893 GB, free: 5.945 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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: 16.277951534837484]