Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001728/0.001728, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002396/0.002396, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.9 MB / 357.4 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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.002173/0.002173, allocations: 79.86 kB / 0.4913 GB, free: 8.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1567, allocations: 66 MB / 0.5557 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.004913/0.1616, allocations: 2.033 MB / 0.5577 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1639, allocations: 0.9424 MB / 0.5586 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.164, allocations: 0 / 0.5586 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.1644, allocations: 67.58 kB / 0.5587 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005222/0.1649, allocations: 127.4 kB / 0.5588 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.1652, allocations: 87.66 kB / 0.5589 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006217/0.1659, allocations: 390.1 kB / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.166, allocations: 28.75 kB / 0.5593 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.1663, allocations: 159.2 kB / 0.5594 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.1667, allocations: 191 kB / 0.5596 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.1667, allocations: 12 kB / 0.5596 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.1671, allocations: 151.7 kB / 0.5598 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.1672, allocations: 91.59 kB / 0.5599 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.1675, allocations: 154.9 kB / 0.56 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000775/0.1682, allocations: 442 kB / 0.5604 GB, free: 1.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.1682, allocations: 4 kB / 0.5604 GB, free: 1.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1682, allocations: 0 / 0.5604 GB, free: 1.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1683, allocations: 3.938 kB / 0.5605 GB, free: 1.297 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.001444/0.1697, allocations: 0.6663 MB / 0.5611 GB, free: 0.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.1698, allocations: 8.031 kB / 0.5611 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.1699, allocations: 78.72 kB / 0.5612 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.17, allocations: 52.59 kB / 0.5612 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.1706, allocations: 287.7 kB / 0.5615 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.1706, allocations: 25.38 kB / 0.5615 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.913e-05/0.1707, allocations: 32.38 kB / 0.5616 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.1719, allocations: 0.5608 MB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.172, allocations: 0 / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/0.172, allocations: 19.94 kB / 0.5621 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-05/0.1721, allocations: 40.97 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.1735, allocations: 0.5698 MB / 0.5627 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.1763, allocations: 1.168 MB / 0.5639 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009474/0.1772, allocations: 366.2 kB / 0.5642 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.1776, allocations: 136.8 kB / 0.5643 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-05/0.1777, allocations: 7.984 kB / 0.5644 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.1777, allocations: 38.56 kB / 0.5644 GB, free: 13.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 2.735e-06/0.1777, allocations: 0 / 0.5644 GB, free: 13.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001436/0.1791, allocations: 464 kB / 0.5648 GB, free: 12.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.1792, allocations: 59.39 kB / 0.5649 GB, free: 12.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007619/0.18, allocations: 453.6 kB / 0.5653 GB, free: 12.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.18, allocations: 29.7 kB / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.1802, allocations: 192.4 kB / 0.5655 GB, free: 11.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1803, allocations: 75.38 kB / 0.5656 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.1805, allocations: 49.7 kB / 0.5657 GB, free: 11.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002602/0.1807, allocations: 354.7 kB / 0.566 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.1811, allocations: 119.9 kB / 0.5661 GB, free: 11.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.1814, allocations: 119.9 kB / 0.5662 GB, free: 11.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007624/0.1822, allocations: 263.8 kB / 0.5665 GB, free: 10.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.1822, allocations: 0 / 0.5665 GB, free: 10.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009451/0.1831, allocations: 345.1 kB / 0.5668 GB, free: 10.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.1832, allocations: 10.28 kB / 0.5668 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1832, allocations: 0 / 0.5668 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.1832, allocations: 8 kB / 0.5668 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.1842, allocations: 147.9 kB / 0.567 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004845/0.1891, allocations: 5.52 MB / 0.5724 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.1895, allocations: 55.59 kB / 0.5724 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.1895, allocations: 15.98 kB / 0.5724 GB, free: 4.59 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.0003596/0.1899, allocations: 189.6 kB / 0.5726 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.19, allocations: 35.77 kB / 0.5726 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.1913, allocations: 468.4 kB / 0.5731 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1913, allocations: 0 / 0.5731 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1913, allocations: 4 kB / 0.5731 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1913, allocations: 4 kB / 0.5731 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.192, allocations: 381.2 kB / 0.5735 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.192, allocations: 3.984 kB / 0.5735 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009591/0.193, allocations: 151.9 kB / 0.5736 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.193, allocations: 3.938 kB / 0.5736 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.193, allocations: 8 kB / 0.5736 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003942/0.1969, allocations: 5.516 MB / 0.579 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.197, allocations: 3.938 kB / 0.579 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.1978, allocations: 450.2 kB / 0.5794 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.198, allocations: 120.8 kB / 0.5795 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/0.198, allocations: 7.984 kB / 0.5796 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.1982, allocations: 4 kB / 0.5796 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.1983, allocations: 31.89 kB / 0.5796 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.1984, allocations: 11.98 kB / 0.5796 GB, free: 12.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004378/0.1988, allocations: 335.1 kB / 0.5799 GB, free: 12.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1988, allocations: 0 / 0.5799 GB, free: 12.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004307/0.1992, allocations: 111.8 kB / 0.58 GB, free: 12.5 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.001204/0.2004, allocations: 1.009 MB / 0.581 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.2016, allocations: 394.4 kB / 0.5814 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2016, allocations: 4 kB / 0.5814 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000797/0.2024, allocations: 275.7 kB / 0.5817 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.2029, allocations: 85.39 kB / 0.5817 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006367/0.2093, allocations: 4.362 MB / 0.586 GB, free: 6.281 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006917/0.21, allocations: 0.8542 MB / 0.5868 GB, free: 5.398 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002865/0.2103, allocations: 87.2 kB / 0.5869 GB, free: 5.312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.2105, allocations: 111.3 kB / 0.587 GB, free: 5.203 MB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/0.2105, allocations: 0 / 0.587 GB, free: 5.203 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2844/0.4949, allocations: 11.6 MB / 0.5984 GB, free: 36.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.88, allocations: 8.594 kB / 0.5984 GB, free: 36.29 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.26996499998495]