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_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.001804/0.001804, 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.002173/0.002173, allocations: 210.5 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2309/0.2309, allocations: 44.94 MB / 358.8 MB, free: 6.031 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_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_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.002048/0.002048, allocations: 67.89 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3369, allocations: 65.48 MB / 0.557 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003521/0.3404, allocations: 1.964 MB / 0.5589 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3419, allocations: 0.854 MB / 0.5598 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.342, allocations: 4 kB / 0.5598 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.3422, allocations: 59.59 kB / 0.5598 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.3426, allocations: 127.4 kB / 0.5599 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.3428, allocations: 91.7 kB / 0.56 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.3433, allocations: 390.1 kB / 0.5604 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.164e-05/0.3433, allocations: 12.94 kB / 0.5604 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.3436, allocations: 159.2 kB / 0.5606 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.3439, allocations: 191.1 kB / 0.5607 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.3439, allocations: 12 kB / 0.5608 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.3441, allocations: 75.89 kB / 0.5608 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.3442, allocations: 91.53 kB / 0.5609 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.3444, allocations: 127.1 kB / 0.561 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.3449, allocations: 423.8 kB / 0.5614 GB, free: 2.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3449, allocations: 0 / 0.5614 GB, free: 2.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3449, allocations: 0 / 0.5614 GB, free: 2.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3449, allocations: 4 kB / 0.5614 GB, free: 2.926 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.001058/0.346, allocations: 0.591 MB / 0.562 GB, free: 2.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.346, allocations: 8.031 kB / 0.562 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.716e-05/0.3461, allocations: 86.69 kB / 0.5621 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.3462, allocations: 44.66 kB / 0.5622 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.3466, allocations: 225.9 kB / 0.5624 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.3466, allocations: 29.36 kB / 0.5624 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.716e-05/0.3467, allocations: 36.38 kB / 0.5624 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008936/0.3476, allocations: 0.5531 MB / 0.563 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3476, allocations: 4 kB / 0.563 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.3477, allocations: 15.98 kB / 0.563 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/0.3477, allocations: 44.97 kB / 0.563 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.3488, allocations: 0.5737 MB / 0.5636 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.3507, allocations: 1.089 MB / 0.5647 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.3514, allocations: 369 kB / 0.565 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.3517, allocations: 132.9 kB / 0.5651 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.3517, allocations: 7.984 kB / 0.5651 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.3517, allocations: 38.5 kB / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.3517, allocations: 0 / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001005/0.3527, allocations: 461 kB / 0.5656 GB, free: 14.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3528, allocations: 59.44 kB / 0.5657 GB, free: 14.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.3533, allocations: 453.6 kB / 0.5661 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.3533, allocations: 29.7 kB / 0.5661 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.3535, allocations: 192.4 kB / 0.5663 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/0.3536, allocations: 79.31 kB / 0.5664 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.3537, allocations: 49.7 kB / 0.5664 GB, free: 13.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3538, allocations: 358.7 kB / 0.5668 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.3541, allocations: 115.9 kB / 0.5669 GB, free: 13.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.3543, allocations: 121.5 kB / 0.567 GB, free: 13.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.3549, allocations: 258.7 kB / 0.5673 GB, free: 12.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3549, allocations: 7.984 kB / 0.5673 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006692/0.3556, allocations: 341.1 kB / 0.5676 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3556, allocations: 7.938 kB / 0.5676 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3556, allocations: 7.938 kB / 0.5676 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3556, allocations: 0 / 0.5676 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/0.3563, allocations: 155.9 kB / 0.5678 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/0.3599, allocations: 5.52 MB / 0.5731 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.3602, allocations: 48.39 kB / 0.5732 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.3602, allocations: 12 kB / 0.5732 GB, free: 6.477 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.0002595/0.3604, allocations: 189.7 kB / 0.5734 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.3605, allocations: 35.77 kB / 0.5734 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009495/0.3615, allocations: 463.3 kB / 0.5739 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3615, allocations: 4 kB / 0.5739 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3615, allocations: 0 / 0.5739 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3615, allocations: 0 / 0.5739 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.362, allocations: 328.4 kB / 0.5742 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.362, allocations: 8 kB / 0.5742 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/0.3626, allocations: 155.9 kB / 0.5743 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3626, allocations: 0 / 0.5743 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.3627, allocations: 11.98 kB / 0.5743 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.3664, allocations: 5.52 MB / 0.5797 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3664, allocations: 3.938 kB / 0.5797 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.3672, allocations: 447 kB / 0.5802 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.3673, allocations: 44.16 kB / 0.5802 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.3674, allocations: 8 kB / 0.5802 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.3676, allocations: 8 kB / 0.5802 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.3677, allocations: 31.83 kB / 0.5803 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.3677, allocations: 12 kB / 0.5803 GB, free: 14.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004305/0.3681, allocations: 335.1 kB / 0.5806 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3681, allocations: 0 / 0.5806 GB, free: 14.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004354/0.3685, allocations: 111.8 kB / 0.5807 GB, free: 14.53 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.001277/0.3698, allocations: 1.019 MB / 0.5817 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.371, allocations: 399.6 kB / 0.5821 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.371, allocations: 0 / 0.5821 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.3719, allocations: 279.7 kB / 0.5823 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.3724, allocations: 85.39 kB / 0.5824 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.3786, allocations: 4.362 MB / 0.5867 GB, free: 8.297 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3788, allocations: 248.4 kB / 0.5869 GB, free: 8.035 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002712/0.3791, allocations: 87.14 kB / 0.587 GB, free: 7.949 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.3793, allocations: 111.4 kB / 0.5871 GB, free: 7.84 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3793, allocations: 0 / 0.5871 GB, free: 7.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04496/0.4243, allocations: 12.89 MB / 0.5997 GB, free: 11.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.37, allocations: 9.625 kB / 0.5997 GB, free: 11.27 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.631393184885383]