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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.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.2115/0.2115, allocations: 44.91 MB / 349.6 MB, free: 1.723 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 72.06 kB / 491.8 MB, free: 29.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1202, allocations: 64.27 MB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003435/0.1236, allocations: 2.014 MB / 0.545 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1251, allocations: 0.9073 MB / 0.5459 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.1252, allocations: 0 / 0.5459 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1254, allocations: 75.58 kB / 0.546 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.1258, allocations: 127.4 kB / 0.5461 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.126, allocations: 83.72 kB / 0.5462 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.1265, allocations: 390.1 kB / 0.5465 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.118e-05/0.1265, allocations: 28.75 kB / 0.5466 GB, free: 468 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.1267, allocations: 147.2 kB / 0.5467 GB, free: 320 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.127, allocations: 195 kB / 0.5469 GB, free: 124 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.127, allocations: 12 kB / 0.5469 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.1273, allocations: 159.7 kB / 0.5471 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1274, allocations: 95.53 kB / 0.5471 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.1276, allocations: 158.9 kB / 0.5473 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.1281, allocations: 434.2 kB / 0.5477 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1281, allocations: 0 / 0.5477 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1281, allocations: 0 / 0.5477 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1281, allocations: 0 / 0.5477 GB, free: 15.28 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.001069/0.1292, allocations: 0.6624 MB / 0.5484 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1292, allocations: 8.031 kB / 0.5484 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.51e-05/0.1293, allocations: 94.7 kB / 0.5485 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/0.1294, allocations: 40.66 kB / 0.5485 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.1298, allocations: 283.7 kB / 0.5488 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.1298, allocations: 29.36 kB / 0.5488 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.1299, allocations: 36.38 kB / 0.5488 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008512/0.1308, allocations: 0.5569 MB / 0.5494 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.1308, allocations: 4 kB / 0.5494 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.1308, allocations: 19.98 kB / 0.5494 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/0.1309, allocations: 36.98 kB / 0.5494 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.1319, allocations: 0.5698 MB / 0.55 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.1338, allocations: 1.184 MB / 0.5511 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.1344, allocations: 367.7 kB / 0.5515 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.1347, allocations: 132.9 kB / 0.5516 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.1347, allocations: 7.969 kB / 0.5516 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1347, allocations: 38.56 kB / 0.5517 GB, free: 11.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.954e-06/0.1347, allocations: 0 / 0.5517 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001032/0.1358, allocations: 466.5 kB / 0.5521 GB, free: 10.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.1358, allocations: 55.41 kB / 0.5522 GB, free: 10.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.1363, allocations: 457.5 kB / 0.5526 GB, free: 10.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.1364, allocations: 29.7 kB / 0.5526 GB, free: 10.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.1365, allocations: 184.5 kB / 0.5528 GB, free: 9.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.409e-05/0.1366, allocations: 83.27 kB / 0.5529 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.1367, allocations: 49.7 kB / 0.5529 GB, free: 9.711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1369, allocations: 358.7 kB / 0.5533 GB, free: 9.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.1371, allocations: 115.9 kB / 0.5534 GB, free: 9.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.1374, allocations: 122.7 kB / 0.5535 GB, free: 9.121 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.1379, allocations: 256.6 kB / 0.5537 GB, free: 8.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1379, allocations: 0 / 0.5537 GB, free: 8.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000635/0.1385, allocations: 356.2 kB / 0.5541 GB, free: 8.516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1385, allocations: 11.94 kB / 0.5541 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1385, allocations: 0 / 0.5541 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1385, allocations: 0 / 0.5541 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/0.1393, allocations: 151.9 kB / 0.5542 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.1427, allocations: 5.524 MB / 0.5596 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.1429, allocations: 43.64 kB / 0.5597 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.1429, allocations: 12 kB / 0.5597 GB, free: 2.566 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.0002474/0.1432, allocations: 189.7 kB / 0.5599 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.1432, allocations: 35.77 kB / 0.5599 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008891/0.1441, allocations: 468.5 kB / 0.5604 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1441, allocations: 4 kB / 0.5604 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1441, allocations: 0 / 0.5604 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1441, allocations: 3.984 kB / 0.5604 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.1446, allocations: 373.3 kB / 0.5607 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1446, allocations: 0 / 0.5607 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/0.1453, allocations: 155.9 kB / 0.5609 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1453, allocations: 0 / 0.5609 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.1453, allocations: 19.98 kB / 0.5609 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003477/0.1488, allocations: 5.512 MB / 0.5663 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.1488, allocations: 3.938 kB / 0.5663 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007137/0.1495, allocations: 454.2 kB / 0.5667 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.1497, allocations: 120.8 kB / 0.5668 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/0.1497, allocations: 4 kB / 0.5668 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.1499, allocations: 7.984 kB / 0.5668 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.15, allocations: 27.91 kB / 0.5669 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.15, allocations: 15.94 kB / 0.5669 GB, free: 10.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003931/0.1504, allocations: 339.1 kB / 0.5672 GB, free: 10.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1504, allocations: 0 / 0.5672 GB, free: 10.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003988/0.1508, allocations: 103.8 kB / 0.5673 GB, free: 10.48 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.001138/0.152, allocations: 1.009 MB / 0.5683 GB, free: 9.438 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.1531, allocations: 399.5 kB / 0.5687 GB, free: 9.047 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1531, allocations: 0 / 0.5687 GB, free: 9.047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007712/0.1539, allocations: 271.1 kB / 0.5689 GB, free: 8.785 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.1544, allocations: 96.58 kB / 0.569 GB, free: 8.695 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/0.1604, allocations: 4.344 MB / 0.5733 GB, free: 4.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.1609, allocations: 0.862 MB / 0.5741 GB, free: 3.387 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002601/0.1612, allocations: 91.19 kB / 0.5742 GB, free: 3.297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.1614, allocations: 111.4 kB / 0.5743 GB, free: 3.188 MB / 430.1 MB Notification: Performance of SimCode: time 1.312e-06/0.1614, allocations: 0 / 0.5743 GB, free: 3.188 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03941/0.2008, allocations: 11.61 MB / 0.5856 GB, free: 7.848 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.28, allocations: 10.5 kB / 0.5856 GB, free: 7.84 MB / 446.1 MB " [Timeout remaining time 648] (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_2/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_2/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: 15.495509841945022]