Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001248/0.001248, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.00138/0.00138, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.746 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.2331/0.2331, allocations: 46.95 MB / 360.9 MB, free: 4.027 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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.91 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003395/0.3443, allocations: 1.952 MB / 0.5625 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3458, allocations: 0.7722 MB / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.284e-05/0.3458, allocations: 4 kB / 0.5633 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.3461, allocations: 59.59 kB / 0.5633 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.3465, allocations: 127.4 kB / 0.5635 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.3467, allocations: 79.7 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.3471, allocations: 302.6 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.426e-05/0.3471, allocations: 16.58 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.3474, allocations: 131.4 kB / 0.564 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.3476, allocations: 155.3 kB / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.3476, allocations: 8 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.3478, allocations: 83.88 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.591e-05/0.3479, allocations: 67.69 kB / 0.5643 GB, free: 484 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.348, allocations: 91.41 kB / 0.5644 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.3485, allocations: 344.2 kB / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3485, allocations: 0 / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3485, allocations: 0 / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3485, allocations: 0 / 0.5647 GB, free: 48 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008817/0.3494, allocations: 0.4899 MB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3494, allocations: 12.03 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.776e-05/0.3495, allocations: 70.7 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.3495, allocations: 36.69 kB / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.3498, allocations: 193.3 kB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.3499, allocations: 20.64 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.3499, allocations: 23.94 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.3506, allocations: 401.8 kB / 0.5659 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3506, allocations: 0 / 0.5659 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.3506, allocations: 11.98 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.3507, allocations: 28.58 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007931/0.3515, allocations: 410.3 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.3529, allocations: 0.8144 MB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005743/0.3535, allocations: 246.3 kB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.3537, allocations: 96.7 kB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3537, allocations: 0 / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.3537, allocations: 38.56 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/0.3537, allocations: 0 / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007965/0.3545, allocations: 340.3 kB / 0.5678 GB, free: 12.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3546, allocations: 51.41 kB / 0.5678 GB, free: 12.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.355, allocations: 360.4 kB / 0.5682 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.355, allocations: 25.7 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.3551, allocations: 160.3 kB / 0.5684 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.3552, allocations: 55.53 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/0.3553, allocations: 53.69 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3554, allocations: 338.8 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.3557, allocations: 95.91 kB / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.3559, allocations: 141.9 kB / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.3564, allocations: 245.7 kB / 0.5693 GB, free: 11.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3564, allocations: 4 kB / 0.5693 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000573/0.3569, allocations: 303.9 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.357, allocations: 4 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.357, allocations: 4 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.357, allocations: 4 kB / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.3575, allocations: 116 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.3601, allocations: 3.672 MB / 0.5733 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.3603, allocations: 32.33 kB / 0.5733 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.3603, allocations: 16 kB / 0.5733 GB, free: 6.84 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.0002411/0.3606, allocations: 177.8 kB / 0.5735 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.3606, allocations: 31.75 kB / 0.5735 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007294/0.3614, allocations: 327 kB / 0.5738 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.3614, allocations: 4 kB / 0.5738 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3614, allocations: 3.984 kB / 0.5738 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3614, allocations: 4 kB / 0.5738 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.3617, allocations: 260.7 kB / 0.5741 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3617, allocations: 3.938 kB / 0.5741 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/0.3622, allocations: 107.9 kB / 0.5742 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-05/0.3622, allocations: 4 kB / 0.5742 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3622, allocations: 8 kB / 0.5742 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/0.3645, allocations: 3.664 MB / 0.5778 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3645, allocations: 0 / 0.5778 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.3651, allocations: 355.1 kB / 0.5781 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.62e-05/0.3652, allocations: 31.75 kB / 0.5781 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.3652, allocations: 7.984 kB / 0.5781 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.3654, allocations: 4.281 kB / 0.5782 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.3654, allocations: 23.97 kB / 0.5782 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3655, allocations: 4 kB / 0.5782 GB, free: 1.629 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003117/0.3658, allocations: 259 kB / 0.5784 GB, free: 1.379 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3658, allocations: 0 / 0.5784 GB, free: 1.379 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003774/0.3661, allocations: 75.86 kB / 0.5785 GB, free: 1.305 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.00103/0.3672, allocations: 0.9103 MB / 0.5794 GB, free: 380 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008902/0.3681, allocations: 303.6 kB / 0.5797 GB, free: 76 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3681, allocations: 384 / 0.5797 GB, free: 76 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006/0.3687, allocations: 199.8 kB / 0.5799 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.3691, allocations: 65.97 kB / 0.5799 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/0.3735, allocations: 3.38 MB / 0.5832 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.3737, allocations: 193.1 kB / 0.5834 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.3739, allocations: 70.16 kB / 0.5835 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.374, allocations: 83.33 kB / 0.5836 GB, free: 11.96 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.374, allocations: 0 / 0.5836 GB, free: 11.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03701/0.411, allocations: 9.573 MB / 0.5929 GB, free: 2.672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.94, allocations: 3.75 kB / 0.5929 GB, free: 2.672 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.116480867844075]