Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001801/0.001801, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002387/0.002387, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2592/0.2592, allocations: 46.94 MB / 360.9 MB, free: 4.25 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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.89 kB / 0.4962 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3055, allocations: 66.04 MB / 0.5607 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003177/0.3087, allocations: 2.022 MB / 0.5627 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.3114, allocations: 1.897 MB / 0.5645 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.3115, allocations: 4 kB / 0.5645 GB, free: 500 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.3117, allocations: 71.59 kB / 0.5646 GB, free: 428 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.3121, allocations: 131.4 kB / 0.5647 GB, free: 296 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007614/0.3128, allocations: 354.6 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.3133, allocations: 394.1 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.731e-05/0.3133, allocations: 12.94 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.3136, allocations: 159.2 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.3138, allocations: 187.1 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.3139, allocations: 12 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008668/0.3147, allocations: 0.5538 MB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3148, allocations: 95.53 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.315, allocations: 154.9 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008143/0.3158, allocations: 0.6516 MB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3158, allocations: 3.938 kB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3158, allocations: 0 / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3158, allocations: 0 / 0.5672 GB, free: 13.73 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001085/0.3169, allocations: 0.6219 MB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3169, allocations: 8.031 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.059e-05/0.317, allocations: 86.72 kB / 0.5679 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.3171, allocations: 40.66 kB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.3175, allocations: 233.8 kB / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.3175, allocations: 25.38 kB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/0.3176, allocations: 32.38 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008511/0.3184, allocations: 0.5686 MB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3185, allocations: 0 / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.3185, allocations: 12 kB / 0.5688 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.645e-05/0.3185, allocations: 40.98 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009698/0.3195, allocations: 0.5815 MB / 0.5694 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.3213, allocations: 1.128 MB / 0.5705 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.322, allocations: 363.8 kB / 0.5708 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.3222, allocations: 144.8 kB / 0.571 GB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.3223, allocations: 11.98 kB / 0.571 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3223, allocations: 30.56 kB / 0.571 GB, free: 9.684 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.3223, allocations: 0 / 0.571 GB, free: 9.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009581/0.3232, allocations: 463.6 kB / 0.5715 GB, free: 9.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.3233, allocations: 59.41 kB / 0.5715 GB, free: 9.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.3238, allocations: 449.6 kB / 0.5719 GB, free: 8.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.3238, allocations: 33.7 kB / 0.572 GB, free: 8.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3239, allocations: 196.3 kB / 0.5722 GB, free: 8.473 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.324, allocations: 75.31 kB / 0.5722 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.3241, allocations: 49.69 kB / 0.5723 GB, free: 8.344 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3243, allocations: 350.8 kB / 0.5726 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.3245, allocations: 127.8 kB / 0.5727 GB, free: 7.867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.3247, allocations: 115.9 kB / 0.5729 GB, free: 7.754 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.3252, allocations: 263.4 kB / 0.5731 GB, free: 7.496 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3252, allocations: 4 kB / 0.5731 GB, free: 7.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006839/0.3259, allocations: 337.1 kB / 0.5734 GB, free: 7.156 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3259, allocations: 15.88 kB / 0.5734 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.326, allocations: 4 kB / 0.5734 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.326, allocations: 0 / 0.5734 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.3267, allocations: 159.9 kB / 0.5736 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.3301, allocations: 5.517 MB / 0.579 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.3303, allocations: 47.64 kB / 0.579 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.3303, allocations: 15.98 kB / 0.579 GB, free: 1.191 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.0002155/0.3305, allocations: 189.6 kB / 0.5792 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.3306, allocations: 35.77 kB / 0.5793 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000864/0.3315, allocations: 459.3 kB / 0.5797 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3315, allocations: 8.094 kB / 0.5797 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3315, allocations: 0 / 0.5797 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3315, allocations: 0 / 0.5797 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.3319, allocations: 352.3 kB / 0.58 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.332, allocations: 0 / 0.58 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/0.3327, allocations: 155.9 kB / 0.5802 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.3327, allocations: 4 kB / 0.5802 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.3327, allocations: 8 kB / 0.5802 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/0.3363, allocations: 5.513 MB / 0.5856 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.547e-06/0.3364, allocations: 7.938 kB / 0.5856 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.3371, allocations: 439.2 kB / 0.586 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/0.3372, allocations: 47.69 kB / 0.5861 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.3372, allocations: 7.984 kB / 0.5861 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.3374, allocations: 12 kB / 0.5861 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.3375, allocations: 31.88 kB / 0.5861 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.3375, allocations: 8 kB / 0.5861 GB, free: 9.672 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003605/0.3379, allocations: 339.1 kB / 0.5864 GB, free: 9.344 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3379, allocations: 3.938 kB / 0.5864 GB, free: 9.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004782/0.3384, allocations: 151.6 kB / 0.5866 GB, free: 9.191 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.001288/0.3397, allocations: 1.088 MB / 0.5877 GB, free: 8.078 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.3408, allocations: 399.5 kB / 0.588 GB, free: 7.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3408, allocations: 0 / 0.588 GB, free: 7.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007936/0.3416, allocations: 271.2 kB / 0.5883 GB, free: 7.426 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.3421, allocations: 93.03 kB / 0.5884 GB, free: 7.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005652/0.3478, allocations: 4.391 MB / 0.5927 GB, free: 2.863 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.3482, allocations: 0.8425 MB / 0.5935 GB, free: 1.992 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.3484, allocations: 87.22 kB / 0.5936 GB, free: 1.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.3486, allocations: 115.4 kB / 0.5937 GB, free: 1.793 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3486, allocations: 0 / 0.5937 GB, free: 1.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04363/0.3922, allocations: 13.23 MB / 0.6066 GB, free: 4.789 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.09, allocations: 7.922 kB / 0.6066 GB, free: 4.781 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.325360412942246]