Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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.001367/0.001367, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00149/0.00149, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.221/0.221, allocations: 44.94 MB / 358.8 MB, free: 6.043 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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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.002038/0.002038, allocations: 67.89 kB / 0.4931 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3237, allocations: 65.48 MB / 0.557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003787/0.3275, allocations: 1.949 MB / 0.5589 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.3303, allocations: 1.679 MB / 0.5605 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.3305, allocations: 0 / 0.5605 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.3308, allocations: 67.66 kB / 0.5606 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004066/0.3312, allocations: 123.4 kB / 0.5607 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008426/0.332, allocations: 346.4 kB / 0.5611 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.3325, allocations: 390.1 kB / 0.5614 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.589e-05/0.3326, allocations: 12.94 kB / 0.5614 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.3328, allocations: 167.1 kB / 0.5616 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.3331, allocations: 183.1 kB / 0.5618 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.3331, allocations: 12 kB / 0.5618 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006241/0.3337, allocations: 307.5 kB / 0.5621 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.3339, allocations: 95.53 kB / 0.5622 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.334, allocations: 127.2 kB / 0.5623 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008528/0.3349, allocations: 0.5853 MB / 0.5629 GB, free: 1.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3349, allocations: 0 / 0.5629 GB, free: 1.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3349, allocations: 0 / 0.5629 GB, free: 1.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3349, allocations: 0 / 0.5629 GB, free: 1.5 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001091/0.336, allocations: 0.6239 MB / 0.5635 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.336, allocations: 8.031 kB / 0.5635 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.923e-05/0.3361, allocations: 90.69 kB / 0.5636 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.085e-05/0.3362, allocations: 48.59 kB / 0.5636 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.3366, allocations: 227.5 kB / 0.5638 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.3366, allocations: 25.38 kB / 0.5639 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.098e-05/0.3367, allocations: 40.36 kB / 0.5639 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009285/0.3376, allocations: 0.5609 MB / 0.5644 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3376, allocations: 3.938 kB / 0.5644 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.3377, allocations: 12 kB / 0.5645 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.588e-05/0.3377, allocations: 44.97 kB / 0.5645 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.3388, allocations: 0.5698 MB / 0.5651 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.3407, allocations: 1.097 MB / 0.5661 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.3414, allocations: 373 kB / 0.5665 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.3417, allocations: 128.9 kB / 0.5666 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.3417, allocations: 7.984 kB / 0.5666 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.3418, allocations: 38.56 kB / 0.5666 GB, free: 13.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 2.264e-06/0.3418, allocations: 0 / 0.5666 GB, free: 13.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001064/0.3428, allocations: 461 kB / 0.5671 GB, free: 13.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.3429, allocations: 59.44 kB / 0.5671 GB, free: 12.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.3434, allocations: 453.6 kB / 0.5676 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.3435, allocations: 29.7 kB / 0.5676 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.3436, allocations: 188.4 kB / 0.5678 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.136e-05/0.3437, allocations: 83.31 kB / 0.5679 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.3438, allocations: 45.7 kB / 0.5679 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.344, allocations: 354.7 kB / 0.5682 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.3443, allocations: 115.9 kB / 0.5684 GB, free: 11.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.3445, allocations: 125.5 kB / 0.5685 GB, free: 11.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.3451, allocations: 258.7 kB / 0.5687 GB, free: 11.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3451, allocations: 4 kB / 0.5687 GB, free: 11.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006665/0.3457, allocations: 344.1 kB / 0.5691 GB, free: 10.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3458, allocations: 11.94 kB / 0.5691 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3458, allocations: 3.938 kB / 0.5691 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3458, allocations: 0 / 0.5691 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007447/0.3465, allocations: 159.9 kB / 0.5692 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/0.3504, allocations: 5.524 MB / 0.5746 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.3507, allocations: 47.64 kB / 0.5747 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.3507, allocations: 8 kB / 0.5747 GB, free: 5.008 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002676/0.351, allocations: 189.7 kB / 0.5749 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.351, allocations: 35.77 kB / 0.5749 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009485/0.352, allocations: 460.5 kB / 0.5753 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.352, allocations: 4.156 kB / 0.5753 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.352, allocations: 4 kB / 0.5753 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.352, allocations: 3.984 kB / 0.5753 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.3525, allocations: 336.3 kB / 0.5757 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3525, allocations: 0 / 0.5757 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006722/0.3532, allocations: 155.9 kB / 0.5758 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3532, allocations: 0 / 0.5758 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.3532, allocations: 12 kB / 0.5758 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003696/0.3569, allocations: 5.52 MB / 0.5812 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/0.3569, allocations: 4.656 kB / 0.5812 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007822/0.3577, allocations: 443 kB / 0.5816 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.3578, allocations: 43.69 kB / 0.5817 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.3579, allocations: 7.984 kB / 0.5817 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.3581, allocations: 12 kB / 0.5817 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.3581, allocations: 27.83 kB / 0.5817 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.3582, allocations: 12 kB / 0.5817 GB, free: 13.49 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003931/0.3586, allocations: 335.1 kB / 0.5821 GB, free: 13.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3586, allocations: 0 / 0.5821 GB, free: 13.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005035/0.3591, allocations: 147.6 kB / 0.5822 GB, free: 13.02 MB / 430.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001382/0.3605, allocations: 1.097 MB / 0.5833 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.3617, allocations: 399.6 kB / 0.5836 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3617, allocations: 0 / 0.5836 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008367/0.3625, allocations: 283.6 kB / 0.5839 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.363, allocations: 81.95 kB / 0.584 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006073/0.3691, allocations: 4.389 MB / 0.5883 GB, free: 6.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.3693, allocations: 248.4 kB / 0.5885 GB, free: 6.418 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002678/0.3696, allocations: 83.22 kB / 0.5886 GB, free: 6.336 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.3698, allocations: 111.4 kB / 0.5887 GB, free: 6.227 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3698, allocations: 0 / 0.5887 GB, free: 6.227 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04692/0.4167, allocations: 14.34 MB / 0.6027 GB, free: 8.203 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.26, allocations: 11.61 kB / 0.6027 GB, free: 8.195 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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.484248406253755]