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_laminar_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.0008223/0.0008223, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009219/0.0009219, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8751/0.8751, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2558/0.2558, allocations: 34.25 MB / 294.9 MB, free: 0.6953 MB / 266.7 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_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.605e-05, allocations: 9.031 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.1627/0.1627, allocations: 1.96 MB / 444.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008709/0.1636, allocations: 0.8595 MB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.1636, allocations: 2.719 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.1638, allocations: 55.3 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.1641, allocations: 132.7 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.1642, allocations: 81.95 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.1644, allocations: 415.5 kB / 445.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.1645, allocations: 12.97 kB / 445.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.1646, allocations: 202.7 kB / 445.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1648, allocations: 165.9 kB / 446.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1648, allocations: 11.56 kB / 446.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1649, allocations: 71.81 kB / 446.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.165, allocations: 103.8 kB / 446.3 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.499e-05/0.165, allocations: 95.38 kB / 446.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.1653, allocations: 404.3 kB / 446.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.1653, allocations: 0 / 446.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1653, allocations: 2.594 kB / 446.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1653, allocations: 2.656 kB / 446.8 MB, free: 42.64 MB / 410.7 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.0005173/0.1658, allocations: 0.5838 MB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1658, allocations: 8.844 kB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.874e-05/0.1659, allocations: 87.98 kB / 447.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.1659, allocations: 50.31 kB / 447.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.1661, allocations: 224.8 kB / 447.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1661, allocations: 23.16 kB / 447.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1661, allocations: 39.33 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.1666, allocations: 0.5537 MB / 448.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1666, allocations: 0.8125 kB / 448.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.1666, allocations: 14.69 kB / 448.3 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.1666, allocations: 45.88 kB / 448.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.1671, allocations: 0.5701 MB / 448.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009786/0.1681, allocations: 1.087 MB / 450 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.1685, allocations: 370.3 kB / 450.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1686, allocations: 128 kB / 450.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1687, allocations: 9.438 kB / 450.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.1687, allocations: 38.69 kB / 450.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.092e-06/0.1687, allocations: 0 / 450.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005261/0.1692, allocations: 466.6 kB / 451 MB, free: 40.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.756e-05/0.1692, allocations: 54.19 kB / 451.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1694, allocations: 452 kB / 451.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1695, allocations: 29.7 kB / 451.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.1695, allocations: 203.2 kB / 451.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.1695, allocations: 70.28 kB / 451.8 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.1696, allocations: 54.62 kB / 451.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.113e-05/0.1696, allocations: 351.4 kB / 452.2 MB, free: 40.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.1698, allocations: 117.7 kB / 452.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.1699, allocations: 120.5 kB / 452.4 MB, free: 40.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.1702, allocations: 265.5 kB / 452.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1702, allocations: 5.719 kB / 452.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003296/0.1705, allocations: 344.6 kB / 453 MB, free: 39.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1705, allocations: 5.75 kB / 453 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1705, allocations: 0 / 453 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1705, allocations: 0 / 453 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.1709, allocations: 166.8 kB / 453.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008996/0.1718, allocations: 5.513 MB / 458.7 MB, free: 34.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.213e-05/0.1719, allocations: 50.34 kB / 458.8 MB, free: 34.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1719, allocations: 12.89 kB / 458.8 MB, free: 34.46 MB / 410.7 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.0001003/0.172, allocations: 194.3 kB / 459 MB, free: 34.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.172, allocations: 41.05 kB / 459 MB, free: 34.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.1725, allocations: 453.2 kB / 459.5 MB, free: 34.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1725, allocations: 3.938 kB / 459.5 MB, free: 34.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1725, allocations: 2.844 kB / 459.5 MB, free: 34.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1725, allocations: 2.953 kB / 459.5 MB, free: 34.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.1727, allocations: 323.5 kB / 459.8 MB, free: 33.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1727, allocations: 0 / 459.8 MB, free: 33.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.173, allocations: 168.2 kB / 459.9 MB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.173, allocations: 3.094 kB / 459.9 MB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.173, allocations: 10.42 kB / 460 MB, free: 33.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008674/0.1739, allocations: 5.524 MB / 465.5 MB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1739, allocations: 0 / 465.5 MB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.1742, allocations: 446.6 kB / 465.9 MB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.1742, allocations: 42.52 kB / 466 MB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.1743, allocations: 384 / 466 MB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.1744, allocations: 14.52 kB / 466 MB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.1744, allocations: 20.16 kB / 466 MB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1744, allocations: 13.84 kB / 466 MB, free: 28.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1746, allocations: 335.9 kB / 466.3 MB, free: 28.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1746, allocations: 3.938 kB / 466.3 MB, free: 28.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.1748, allocations: 104.8 kB / 466.4 MB, free: 28.16 MB / 410.7 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.0005324/0.1753, allocations: 1.017 MB / 467.5 MB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005954/0.1759, allocations: 401.3 kB / 467.9 MB, free: 27.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.1759, allocations: 4 kB / 467.9 MB, free: 27.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.1763, allocations: 273.5 kB / 468.1 MB, free: 27.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1766, allocations: 100.5 kB / 468.2 MB, free: 27.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.1796, allocations: 4.386 MB / 472.6 MB, free: 25.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.1797, allocations: 255.4 kB / 472.9 MB, free: 25.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.1799, allocations: 83.08 kB / 472.9 MB, free: 25.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.163e-05/0.1799, allocations: 113.5 kB / 473 MB, free: 25.05 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1799, allocations: 0 / 473 MB, free: 25.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.2007, allocations: 13.02 MB / 486.1 MB, free: 23.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.289, allocations: 1.094 kB / 486.1 MB, free: 23.26 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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: 10.425685771740973]