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.001378/0.001378, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.00153/0.00153, allocations: 208.3 kB / 20.75 MB, free: 2.273 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 / 254.1 MB, free: 15.07 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.2197/0.2197, allocations: 46.91 MB / 357.1 MB, free: 10.31 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.001932/0.001932, allocations: 71.89 kB / 0.491 GB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1209, allocations: 65.98 MB / 0.5554 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003321/0.1243, allocations: 2.037 MB / 0.5574 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1258, allocations: 0.9424 MB / 0.5583 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.1258, allocations: 7.938 kB / 0.5583 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.1261, allocations: 59.66 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.1264, allocations: 127.4 kB / 0.5585 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.1267, allocations: 87.66 kB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.1271, allocations: 386.1 kB / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.405e-05/0.1272, allocations: 32.73 kB / 0.559 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.1274, allocations: 163.2 kB / 0.5591 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.1277, allocations: 187.1 kB / 0.5593 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.1277, allocations: 12 kB / 0.5593 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.128, allocations: 155.7 kB / 0.5595 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1281, allocations: 99.52 kB / 0.5596 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.1282, allocations: 154.9 kB / 0.5597 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.1288, allocations: 438 kB / 0.5601 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1288, allocations: 0 / 0.5601 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1288, allocations: 0 / 0.5601 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1288, allocations: 0 / 0.5601 GB, free: 0.9375 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.001057/0.1298, allocations: 0.6663 MB / 0.5608 GB, free: 228 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1299, allocations: 8.031 kB / 0.5608 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.686e-05/0.13, allocations: 86.7 kB / 0.5609 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/0.13, allocations: 40.66 kB / 0.5609 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.1304, allocations: 287.7 kB / 0.5612 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.1304, allocations: 25.38 kB / 0.5612 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.1305, allocations: 36.36 kB / 0.5612 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008844/0.1314, allocations: 0.5569 MB / 0.5618 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1314, allocations: 0 / 0.5618 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.1314, allocations: 20 kB / 0.5618 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-05/0.1315, allocations: 40.97 kB / 0.5618 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009989/0.1325, allocations: 0.5659 MB / 0.5624 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.1343, allocations: 1.176 MB / 0.5636 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.1349, allocations: 364.3 kB / 0.5639 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.1352, allocations: 136.9 kB / 0.564 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.1353, allocations: 15.91 kB / 0.564 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.1353, allocations: 38.56 kB / 0.5641 GB, free: 12.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.182e-06/0.1353, allocations: 0 / 0.5641 GB, free: 12.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001017/0.1363, allocations: 465 kB / 0.5645 GB, free: 12.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1364, allocations: 55.41 kB / 0.5646 GB, free: 12.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004978/0.1369, allocations: 449.6 kB / 0.565 GB, free: 11.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.1369, allocations: 25.7 kB / 0.565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.137, allocations: 196.4 kB / 0.5652 GB, free: 11.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/0.1371, allocations: 79.36 kB / 0.5653 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-05/0.1372, allocations: 53.69 kB / 0.5653 GB, free: 11.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1374, allocations: 354.7 kB / 0.5657 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.1376, allocations: 119.8 kB / 0.5658 GB, free: 10.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.1379, allocations: 118.7 kB / 0.5659 GB, free: 10.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/0.1384, allocations: 268.6 kB / 0.5662 GB, free: 10.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1384, allocations: 0 / 0.5662 GB, free: 10.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006916/0.1391, allocations: 348.3 kB / 0.5665 GB, free: 10.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1392, allocations: 7.938 kB / 0.5665 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1392, allocations: 4 kB / 0.5665 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1392, allocations: 0 / 0.5665 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007773/0.1399, allocations: 155.9 kB / 0.5667 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003584/0.1435, allocations: 5.513 MB / 0.572 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.1438, allocations: 55.55 kB / 0.5721 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.1438, allocations: 11.98 kB / 0.5721 GB, free: 4.227 MB / 430.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.0002289/0.144, allocations: 195.8 kB / 0.5723 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.1441, allocations: 39.7 kB / 0.5723 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009391/0.145, allocations: 456.6 kB / 0.5728 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.145, allocations: 0 / 0.5728 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.145, allocations: 7.938 kB / 0.5728 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.145, allocations: 0 / 0.5728 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.1456, allocations: 385.2 kB / 0.5731 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1456, allocations: 0 / 0.5731 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/0.1463, allocations: 151.9 kB / 0.5733 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1463, allocations: 0 / 0.5733 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.1463, allocations: 11.94 kB / 0.5733 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/0.1498, allocations: 5.52 MB / 0.5787 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1498, allocations: 3.938 kB / 0.5787 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.1505, allocations: 454.3 kB / 0.5791 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1506, allocations: 120.8 kB / 0.5792 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.1507, allocations: 0 / 0.5792 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.1509, allocations: 8 kB / 0.5792 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.151, allocations: 27.91 kB / 0.5793 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.151, allocations: 15.98 kB / 0.5793 GB, free: 12.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003697/0.1513, allocations: 335.1 kB / 0.5796 GB, free: 12.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1513, allocations: 4 kB / 0.5796 GB, free: 12.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003999/0.1517, allocations: 99.83 kB / 0.5797 GB, free: 12.14 MB / 446.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.001211/0.153, allocations: 1.013 MB / 0.5807 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.1542, allocations: 403.1 kB / 0.5811 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1542, allocations: 0 / 0.5811 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008833/0.1551, allocations: 267.7 kB / 0.5813 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.1556, allocations: 92.48 kB / 0.5814 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005816/0.1614, allocations: 4.365 MB / 0.5857 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.1619, allocations: 0.8503 MB / 0.5865 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.1621, allocations: 87.22 kB / 0.5866 GB, free: 4.945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.1623, allocations: 115.4 kB / 0.5867 GB, free: 4.832 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1623, allocations: 0 / 0.5867 GB, free: 4.832 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2771/0.4394, allocations: 11.62 MB / 0.5981 GB, free: 36.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.1, allocations: 6.766 kB / 0.5981 GB, free: 36.24 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.485678389901295]