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.001782/0.001782, 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.00308/0.00308, allocations: 211 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2259/0.2259, allocations: 46.96 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] 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.002296/0.002296, allocations: 71.89 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3675, 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_turbulent_KC): time 0.003572/0.3711, allocations: 1.956 MB / 0.5625 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.3727, allocations: 0.8578 MB / 0.5634 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.89e-05/0.3728, allocations: 0 / 0.5634 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.3731, allocations: 63.59 kB / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.3735, allocations: 123.4 kB / 0.5636 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.3738, allocations: 91.66 kB / 0.5636 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004855/0.3743, allocations: 394.1 kB / 0.564 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.8e-05/0.3743, allocations: 12.94 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.3746, allocations: 159.2 kB / 0.5642 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.3749, allocations: 187.1 kB / 0.5644 GB, free: 380 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.375, allocations: 12 kB / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.3752, allocations: 71.89 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.3753, allocations: 99.52 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.3755, allocations: 127.1 kB / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005907/0.3761, allocations: 431.9 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.3761, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3761, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.3761, allocations: 0 / 0.5651 GB, free: 15.64 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.001104/0.3772, allocations: 0.591 MB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3772, allocations: 8.031 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.3773, allocations: 82.7 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.932e-05/0.3774, allocations: 44.66 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.3778, allocations: 223.5 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.3778, allocations: 37.36 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.3779, allocations: 36.31 kB / 0.5661 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009279/0.3788, allocations: 0.557 MB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3788, allocations: 0 / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.3789, allocations: 15.98 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.458e-05/0.3789, allocations: 40.97 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.38, allocations: 0.5698 MB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.382, allocations: 1.097 MB / 0.5683 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007038/0.3827, allocations: 365 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.383, allocations: 132.9 kB / 0.5688 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.383, allocations: 7.984 kB / 0.5688 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.3831, allocations: 38.59 kB / 0.5688 GB, free: 11.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.3831, allocations: 0 / 0.5688 GB, free: 11.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001021/0.3841, allocations: 466.7 kB / 0.5693 GB, free: 11.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.3841, allocations: 51.41 kB / 0.5693 GB, free: 11.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.3847, allocations: 457.6 kB / 0.5697 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.3847, allocations: 25.7 kB / 0.5698 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.3849, allocations: 192.4 kB / 0.5699 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.385, allocations: 83.3 kB / 0.57 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.3852, allocations: 49.7 kB / 0.5701 GB, free: 10.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000229/0.3854, allocations: 354.7 kB / 0.5704 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.3857, allocations: 111.9 kB / 0.5705 GB, free: 9.883 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.386, allocations: 131.8 kB / 0.5706 GB, free: 9.754 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/0.3865, allocations: 259.1 kB / 0.5709 GB, free: 9.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3865, allocations: 0 / 0.5709 GB, free: 9.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006859/0.3872, allocations: 345.1 kB / 0.5712 GB, free: 9.156 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3872, allocations: 7.938 kB / 0.5712 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3873, allocations: 0 / 0.5712 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3873, allocations: 4 kB / 0.5712 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.388, allocations: 163.9 kB / 0.5714 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/0.3918, allocations: 5.513 MB / 0.5768 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.392, allocations: 47.64 kB / 0.5768 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.392, allocations: 11.94 kB / 0.5768 GB, free: 3.203 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.0002645/0.3923, allocations: 197.6 kB / 0.577 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.3924, allocations: 35.77 kB / 0.577 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009305/0.3933, allocations: 459.4 kB / 0.5775 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3933, allocations: 8.188 kB / 0.5775 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3933, allocations: 7.938 kB / 0.5775 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3933, allocations: 0 / 0.5775 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.3938, allocations: 324.4 kB / 0.5778 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3938, allocations: 0 / 0.5778 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/0.3945, allocations: 163.9 kB / 0.578 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3945, allocations: 0 / 0.578 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.3945, allocations: 8 kB / 0.578 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003665/0.3982, allocations: 5.52 MB / 0.5834 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3982, allocations: 3.938 kB / 0.5834 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007328/0.3989, allocations: 447.1 kB / 0.5838 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.399, allocations: 43.69 kB / 0.5838 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.3991, allocations: 4 kB / 0.5838 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.3992, allocations: 4 kB / 0.5838 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.3993, allocations: 27.89 kB / 0.5839 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.3993, allocations: 12 kB / 0.5839 GB, free: 11.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004041/0.3998, allocations: 335.1 kB / 0.5842 GB, free: 11.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3998, allocations: 0 / 0.5842 GB, free: 11.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004031/0.4002, allocations: 107.8 kB / 0.5843 GB, free: 11.26 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.001244/0.4014, allocations: 1.011 MB / 0.5853 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.4026, allocations: 407.5 kB / 0.5857 GB, free: 9.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4026, allocations: 0 / 0.5857 GB, free: 9.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008263/0.4034, allocations: 280.6 kB / 0.5859 GB, free: 9.555 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.4039, allocations: 93.31 kB / 0.586 GB, free: 9.465 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005993/0.4099, allocations: 4.36 MB / 0.5903 GB, free: 5.023 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.4102, allocations: 248.4 kB / 0.5905 GB, free: 4.762 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000237/0.4104, allocations: 87.2 kB / 0.5906 GB, free: 4.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.4106, allocations: 115.4 kB / 0.5907 GB, free: 4.562 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4106, allocations: 0 / 0.5907 GB, free: 4.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04284/0.4534, allocations: 12.9 MB / 0.6033 GB, free: 7.992 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.3, allocations: 11.8 kB / 0.6033 GB, free: 7.98 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.63822253001854]