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.00197/0.00197, allocations: 115.8 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.002071/0.002071, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.231/0.231, allocations: 44.91 MB / 358.8 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 179] 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.002237/0.002237, allocations: 63.89 kB / 0.4931 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.341, allocations: 65.48 MB / 0.5571 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003455/0.3444, allocations: 2.042 MB / 0.5591 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.346, allocations: 0.9473 MB / 0.56 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.3461, allocations: 4 kB / 0.56 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.3464, allocations: 59.64 kB / 0.56 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.3467, allocations: 135.3 kB / 0.5602 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.347, allocations: 91.64 kB / 0.5603 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004543/0.3475, allocations: 390.1 kB / 0.5606 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.554e-05/0.3475, allocations: 12.94 kB / 0.5606 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.3478, allocations: 159.2 kB / 0.5608 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.3481, allocations: 187.1 kB / 0.561 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.3481, allocations: 11.94 kB / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.3484, allocations: 159.8 kB / 0.5611 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.3486, allocations: 91.53 kB / 0.5612 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.3487, allocations: 162.9 kB / 0.5614 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005451/0.3493, allocations: 435.8 kB / 0.5618 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3493, allocations: 4 kB / 0.5618 GB, free: 2.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3493, allocations: 0 / 0.5618 GB, free: 2.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3493, allocations: 0 / 0.5618 GB, free: 2.863 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.001046/0.3503, allocations: 0.5854 MB / 0.5624 GB, free: 2.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3504, allocations: 16.03 kB / 0.5624 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.427e-05/0.3505, allocations: 86.69 kB / 0.5625 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.3505, allocations: 44.66 kB / 0.5625 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.3509, allocations: 221.9 kB / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.3509, allocations: 41.3 kB / 0.5628 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.351, allocations: 36.38 kB / 0.5628 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008672/0.3519, allocations: 0.5491 MB / 0.5633 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3519, allocations: 4 kB / 0.5633 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.3519, allocations: 11.98 kB / 0.5633 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.528e-05/0.352, allocations: 52.95 kB / 0.5634 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.353, allocations: 0.5736 MB / 0.564 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.3549, allocations: 1.136 MB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/0.3555, allocations: 375.6 kB / 0.5654 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.3558, allocations: 128.9 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.3558, allocations: 11.97 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3558, allocations: 30.56 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.3559, allocations: 0 / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.000987/0.3568, allocations: 467.5 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.3569, allocations: 59.41 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/0.3574, allocations: 449.6 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.3574, allocations: 29.7 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3576, allocations: 192.4 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.3577, allocations: 75.31 kB / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-05/0.3578, allocations: 57.64 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.358, allocations: 350.7 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.3582, allocations: 115.9 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.3585, allocations: 123.9 kB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.359, allocations: 259.4 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.359, allocations: 0 / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006662/0.3597, allocations: 349.1 kB / 0.568 GB, free: 12.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3597, allocations: 7.938 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3597, allocations: 4 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3597, allocations: 4 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007679/0.3605, allocations: 151.9 kB / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/0.364, allocations: 5.513 MB / 0.5735 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.3642, allocations: 47.64 kB / 0.5736 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.3643, allocations: 12 kB / 0.5736 GB, free: 6.367 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.0002215/0.3645, allocations: 193.6 kB / 0.5738 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.3646, allocations: 35.77 kB / 0.5738 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009357/0.3655, allocations: 459.3 kB / 0.5743 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3655, allocations: 7.938 kB / 0.5743 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3655, allocations: 0 / 0.5743 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3655, allocations: 7.922 kB / 0.5743 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.366, allocations: 352.3 kB / 0.5746 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.366, allocations: 0 / 0.5746 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00068/0.3667, allocations: 151.9 kB / 0.5748 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3667, allocations: 0 / 0.5748 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.3668, allocations: 11.98 kB / 0.5748 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00361/0.3704, allocations: 5.516 MB / 0.5802 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3704, allocations: 0 / 0.5802 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.3711, allocations: 451.3 kB / 0.5806 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.38e-05/0.3712, allocations: 47.69 kB / 0.5806 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.3712, allocations: 0 / 0.5806 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.3714, allocations: 11.98 kB / 0.5806 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.3715, allocations: 23.91 kB / 0.5807 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.3715, allocations: 11.98 kB / 0.5807 GB, free: 14.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004034/0.3719, allocations: 339.1 kB / 0.581 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3719, allocations: 0 / 0.581 GB, free: 14.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003936/0.3723, allocations: 107.8 kB / 0.5811 GB, free: 14.41 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.3735, allocations: 1.019 MB / 0.5821 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.3747, allocations: 391.6 kB / 0.5825 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3747, allocations: 0 / 0.5825 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008067/0.3755, allocations: 279.2 kB / 0.5827 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.376, allocations: 101 kB / 0.5828 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006106/0.3821, allocations: 4.363 MB / 0.5871 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.3826, allocations: 0.8542 MB / 0.5879 GB, free: 7.293 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002218/0.3829, allocations: 79.22 kB / 0.588 GB, free: 7.215 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.383, allocations: 119.4 kB / 0.5881 GB, free: 7.098 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.383, allocations: 0 / 0.5881 GB, free: 7.098 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/0.4248, allocations: 11.76 MB / 0.5996 GB, free: 11.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.34, allocations: 15.8 kB / 0.5996 GB, free: 11.54 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.742617182200775]