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_turbulent_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.001676/0.001676, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002266/0.002266, allocations: 216.9 kB / 23.75 MB, free: 4.668 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 8 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.2297/0.2297, allocations: 46.93 MB / 360.9 MB, free: 4.262 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_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.89 kB / 0.4962 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3245, allocations: 66.03 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003786/0.3282, allocations: 2.053 MB / 0.5627 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.33, allocations: 0.9434 MB / 0.5636 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.3301, allocations: 7.938 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.3304, allocations: 59.64 kB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004155/0.3308, allocations: 135.3 kB / 0.5638 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.3311, allocations: 91.59 kB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.3316, allocations: 386.2 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.49e-05/0.3317, allocations: 20.88 kB / 0.5643 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.332, allocations: 159.2 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.3323, allocations: 183.1 kB / 0.5646 GB, free: 436 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.3323, allocations: 12 kB / 0.5646 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.3327, allocations: 159.7 kB / 0.5648 GB, free: 264 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.3328, allocations: 95.47 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.333, allocations: 158.9 kB / 0.565 GB, free: 8 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006226/0.3336, allocations: 443.9 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.3336, allocations: 4 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3336, allocations: 0 / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.3336, allocations: 0 / 0.5654 GB, free: 15.57 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.001091/0.3347, allocations: 0.5871 MB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3347, allocations: 8.031 kB / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.291e-05/0.3348, allocations: 82.72 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.3349, allocations: 44.64 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3353, allocations: 227.5 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.3353, allocations: 29.36 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.3354, allocations: 36.38 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/0.3362, allocations: 0.5569 MB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3362, allocations: 3.938 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.3363, allocations: 15.98 kB / 0.567 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-05/0.3363, allocations: 44.97 kB / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009482/0.3373, allocations: 0.5659 MB / 0.5676 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.3391, allocations: 1.143 MB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006381/0.3397, allocations: 358.2 kB / 0.569 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.34, allocations: 136.8 kB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.34, allocations: 11.98 kB / 0.5692 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.3401, allocations: 34.55 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.3401, allocations: 96 / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009589/0.341, allocations: 471 kB / 0.5697 GB, free: 11.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.3411, allocations: 55.41 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.3416, allocations: 445.6 kB / 0.5701 GB, free: 10.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.3416, allocations: 37.7 kB / 0.5702 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3417, allocations: 188.4 kB / 0.5704 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.138e-05/0.3418, allocations: 79.31 kB / 0.5704 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.3419, allocations: 53.69 kB / 0.5705 GB, free: 10.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3421, allocations: 350.7 kB / 0.5708 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.3423, allocations: 115.9 kB / 0.5709 GB, free: 9.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.3426, allocations: 123 kB / 0.571 GB, free: 9.641 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.3431, allocations: 268.5 kB / 0.5713 GB, free: 9.375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3431, allocations: 4 kB / 0.5713 GB, free: 9.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006338/0.3437, allocations: 343.8 kB / 0.5716 GB, free: 9.031 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3437, allocations: 14.28 kB / 0.5716 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3437, allocations: 0 / 0.5716 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3438, allocations: 0 / 0.5716 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.3445, allocations: 159.9 kB / 0.5718 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/0.3478, allocations: 5.512 MB / 0.5772 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.348, allocations: 47.94 kB / 0.5772 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.348, allocations: 19.98 kB / 0.5772 GB, free: 3.074 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.0002206/0.3483, allocations: 189.6 kB / 0.5774 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.3483, allocations: 35.77 kB / 0.5775 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008739/0.3492, allocations: 452.6 kB / 0.5779 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3492, allocations: 4 kB / 0.5779 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3492, allocations: 0 / 0.5779 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3492, allocations: 0 / 0.5779 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.3497, allocations: 364.2 kB / 0.5782 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3497, allocations: 0 / 0.5782 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/0.3504, allocations: 155.9 kB / 0.5784 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3504, allocations: 0 / 0.5784 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.3504, allocations: 12 kB / 0.5784 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003492/0.3539, allocations: 5.509 MB / 0.5838 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.3539, allocations: 7.969 kB / 0.5838 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/0.3546, allocations: 447.7 kB / 0.5842 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/0.3547, allocations: 43.84 kB / 0.5843 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.3548, allocations: 8 kB / 0.5843 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.355, allocations: 8 kB / 0.5843 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.355, allocations: 27.89 kB / 0.5843 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.3551, allocations: 12 kB / 0.5843 GB, free: 11.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003784/0.3554, allocations: 335.1 kB / 0.5846 GB, free: 11.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3554, allocations: 0 / 0.5846 GB, free: 11.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.3558, allocations: 103.8 kB / 0.5847 GB, free: 11.13 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.001209/0.357, allocations: 1.022 MB / 0.5857 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.3583, allocations: 398.9 kB / 0.5861 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3583, allocations: 0 / 0.5861 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.3591, allocations: 271.7 kB / 0.5864 GB, free: 9.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.3596, allocations: 89.36 kB / 0.5865 GB, free: 9.344 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006013/0.3656, allocations: 4.368 MB / 0.5907 GB, free: 4.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.3661, allocations: 0.8465 MB / 0.5915 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002361/0.3664, allocations: 83.22 kB / 0.5916 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.3666, allocations: 115.4 kB / 0.5917 GB, free: 3.82 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3666, allocations: 0 / 0.5917 GB, free: 3.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04386/0.4104, allocations: 11.78 MB / 0.6032 GB, free: 8.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.14, allocations: 7.812 kB / 0.6032 GB, free: 8.266 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_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_turbulent_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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.3024219609797]