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.001871/0.001871, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002148/0.002148, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2245/0.2245, allocations: 46.95 MB / 360.9 MB, free: 4.031 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.002007/0.002007, allocations: 67.91 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3473, allocations: 66.03 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003761/0.3511, allocations: 1.94 MB / 0.5625 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003048/0.3541, allocations: 1.679 MB / 0.5642 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.836e-05/0.3542, allocations: 7.875 kB / 0.5642 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.3545, allocations: 67.66 kB / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.3549, allocations: 127.4 kB / 0.5644 GB, free: 388 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009478/0.3559, allocations: 362.3 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.3564, allocations: 386.1 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.913e-05/0.3565, allocations: 12.94 kB / 0.5651 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.3568, allocations: 159.2 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.3571, allocations: 183.1 kB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.3571, allocations: 12 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006625/0.3578, allocations: 327.5 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.3579, allocations: 95.53 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.358, allocations: 135.1 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007838/0.3588, allocations: 0.5814 MB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.3588, allocations: 4 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3588, allocations: 0 / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3588, allocations: 0 / 0.5665 GB, free: 14.15 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.001113/0.3599, allocations: 0.618 MB / 0.5671 GB, free: 13.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.36, allocations: 8.031 kB / 0.5671 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.3601, allocations: 90.7 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.3602, allocations: 40.66 kB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.3605, allocations: 231.5 kB / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.3606, allocations: 25.38 kB / 0.5675 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.3606, allocations: 36.38 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000906/0.3615, allocations: 0.5608 MB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3616, allocations: 0 / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.3616, allocations: 12 kB / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/0.3617, allocations: 44.97 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.3627, allocations: 0.5698 MB / 0.5687 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.3646, allocations: 1.089 MB / 0.5698 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/0.3653, allocations: 369 kB / 0.5701 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.3655, allocations: 128.9 kB / 0.5702 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.3656, allocations: 11.98 kB / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.3656, allocations: 38.59 kB / 0.5703 GB, free: 10.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.3656, allocations: 4 kB / 0.5703 GB, free: 10.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001033/0.3667, allocations: 462.8 kB / 0.5707 GB, free: 9.703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.3667, allocations: 55.41 kB / 0.5708 GB, free: 9.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.3672, allocations: 453.6 kB / 0.5712 GB, free: 9.184 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.3673, allocations: 29.7 kB / 0.5712 GB, free: 9.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.3674, allocations: 188.4 kB / 0.5714 GB, free: 8.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.068e-05/0.3675, allocations: 87.3 kB / 0.5715 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3676, allocations: 45.7 kB / 0.5715 GB, free: 8.824 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3678, allocations: 362.7 kB / 0.5719 GB, free: 8.461 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.368, allocations: 115.9 kB / 0.572 GB, free: 8.348 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.3683, allocations: 123.8 kB / 0.5721 GB, free: 8.227 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.3688, allocations: 262.7 kB / 0.5724 GB, free: 7.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3688, allocations: 0 / 0.5724 GB, free: 7.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006857/0.3695, allocations: 344.1 kB / 0.5727 GB, free: 7.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.3695, allocations: 15.94 kB / 0.5727 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3695, allocations: 0 / 0.5727 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3696, allocations: 0 / 0.5727 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008207/0.3704, allocations: 167.9 kB / 0.5729 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/0.374, allocations: 5.516 MB / 0.5783 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.3742, allocations: 47.64 kB / 0.5783 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.3743, allocations: 8 kB / 0.5783 GB, free: 1.668 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.0002402/0.3745, allocations: 197.6 kB / 0.5785 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.3746, allocations: 36.2 kB / 0.5785 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008969/0.3755, allocations: 452.6 kB / 0.579 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3755, allocations: 7.984 kB / 0.579 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3755, allocations: 0 / 0.579 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3755, allocations: 3.984 kB / 0.579 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.3759, allocations: 328.4 kB / 0.5793 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3759, allocations: 0 / 0.5793 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/0.3767, allocations: 159.9 kB / 0.5794 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.3767, allocations: 4 kB / 0.5795 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.3767, allocations: 8 kB / 0.5795 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003414/0.3801, allocations: 5.52 MB / 0.5849 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3801, allocations: 3.938 kB / 0.5849 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007446/0.3809, allocations: 439 kB / 0.5853 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.381, allocations: 43.69 kB / 0.5853 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.381, allocations: 11.98 kB / 0.5853 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.3812, allocations: 11.94 kB / 0.5853 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.3813, allocations: 23.89 kB / 0.5854 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.3814, allocations: 12.19 kB / 0.5854 GB, free: 10.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003693/0.3817, allocations: 339.1 kB / 0.5857 GB, free: 9.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3817, allocations: 3.938 kB / 0.5857 GB, free: 9.828 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004925/0.3822, allocations: 151.6 kB / 0.5858 GB, free: 9.68 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.001297/0.3835, allocations: 1.082 MB / 0.5869 GB, free: 8.574 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.3847, allocations: 407.5 kB / 0.5873 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3847, allocations: 0 / 0.5873 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008373/0.3856, allocations: 271.7 kB / 0.5875 GB, free: 7.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.3861, allocations: 96.73 kB / 0.5876 GB, free: 7.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005802/0.3919, allocations: 4.394 MB / 0.5919 GB, free: 3.348 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.3921, allocations: 244.4 kB / 0.5922 GB, free: 3.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.3923, allocations: 87.2 kB / 0.5922 GB, free: 3.004 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.3925, allocations: 111.4 kB / 0.5924 GB, free: 2.895 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3925, allocations: 4 kB / 0.5924 GB, free: 2.891 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0444/0.4369, allocations: 14.42 MB / 0.6064 GB, free: 4.789 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.66, allocations: 10.11 kB / 0.6064 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: 15.879245268995874]