Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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.001702/0.001702, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.002176/0.002176, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.448/1.448, 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.2238/0.2238, allocations: 46.91 MB / 357.4 MB, free: 10.48 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_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003335/0.003335, allocations: 79.86 kB / 0.4913 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1582, allocations: 66 MB / 0.5557 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.004141/0.1623, allocations: 2.022 MB / 0.5577 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00317/0.1655, allocations: 1.892 MB / 0.5595 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.1657, allocations: 0 / 0.5595 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.166, allocations: 63.58 kB / 0.5596 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.1665, allocations: 123.4 kB / 0.5597 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009799/0.1674, allocations: 354.6 kB / 0.5601 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000482/0.1679, allocations: 394.1 kB / 0.5604 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.168, allocations: 32.75 kB / 0.5605 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.1683, allocations: 155.2 kB / 0.5606 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.1685, allocations: 183.1 kB / 0.5608 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.1685, allocations: 12 kB / 0.5608 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009314/0.1695, allocations: 0.5616 MB / 0.5613 GB, free: 56 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.1697, allocations: 99.53 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.1698, allocations: 154.9 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009237/0.1708, allocations: 0.6459 MB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1708, allocations: 0 / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1708, allocations: 0 / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1708, allocations: 0 / 0.5622 GB, free: 15.16 MB / 430.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.001209/0.172, allocations: 0.6972 MB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.172, allocations: 8.031 kB / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.1721, allocations: 82.7 kB / 0.563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.1722, allocations: 44.66 kB / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.1727, allocations: 283.7 kB / 0.5633 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.1727, allocations: 25.36 kB / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.1728, allocations: 36.38 kB / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009294/0.1737, allocations: 0.5531 MB / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1737, allocations: 7.938 kB / 0.5639 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.1737, allocations: 19.98 kB / 0.5639 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.057e-05/0.1738, allocations: 40.97 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.1748, allocations: 0.5659 MB / 0.5645 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.1768, allocations: 1.187 MB / 0.5657 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/0.1775, allocations: 365 kB / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.1777, allocations: 132.8 kB / 0.5662 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.1778, allocations: 11.97 kB / 0.5662 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.1778, allocations: 42.53 kB / 0.5662 GB, free: 10.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.714e-06/0.1778, allocations: 0 / 0.5662 GB, free: 10.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001027/0.1788, allocations: 465 kB / 0.5666 GB, free: 10.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.1789, allocations: 55.41 kB / 0.5667 GB, free: 10.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.1794, allocations: 449.6 kB / 0.5671 GB, free: 9.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.1795, allocations: 29.7 kB / 0.5672 GB, free: 9.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.1797, allocations: 192.5 kB / 0.5673 GB, free: 9.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.1798, allocations: 75.33 kB / 0.5674 GB, free: 9.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1799, allocations: 53.69 kB / 0.5675 GB, free: 9.559 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1801, allocations: 354.7 kB / 0.5678 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.1803, allocations: 115.9 kB / 0.5679 GB, free: 9.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.1806, allocations: 118.5 kB / 0.568 GB, free: 8.977 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000542/0.1811, allocations: 271.4 kB / 0.5683 GB, free: 8.711 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1811, allocations: 0 / 0.5683 GB, free: 8.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007051/0.1818, allocations: 345.1 kB / 0.5686 GB, free: 8.367 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.1819, allocations: 11.92 kB / 0.5686 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1819, allocations: 0 / 0.5686 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.1819, allocations: 4 kB / 0.5686 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007536/0.1827, allocations: 155.9 kB / 0.5688 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003946/0.1866, allocations: 5.509 MB / 0.5742 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.1869, allocations: 55.59 kB / 0.5742 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.1869, allocations: 8 kB / 0.5742 GB, free: 2.418 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.0002853/0.1872, allocations: 193.6 kB / 0.5744 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.074e-05/0.1873, allocations: 39.77 kB / 0.5744 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009406/0.1882, allocations: 456.6 kB / 0.5749 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.1882, allocations: 0 / 0.5749 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1882, allocations: 0 / 0.5749 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.1882, allocations: 7.984 kB / 0.5749 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000562/0.1888, allocations: 385.2 kB / 0.5753 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1888, allocations: 0 / 0.5753 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006737/0.1895, allocations: 155.9 kB / 0.5754 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1895, allocations: 0 / 0.5754 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.1895, allocations: 11.98 kB / 0.5754 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003906/0.1934, allocations: 5.52 MB / 0.5808 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.1934, allocations: 3.938 kB / 0.5808 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007917/0.1942, allocations: 454.7 kB / 0.5812 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.1944, allocations: 124.7 kB / 0.5814 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.1944, allocations: 0 / 0.5814 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.1946, allocations: 11.98 kB / 0.5814 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/0.1947, allocations: 27.91 kB / 0.5814 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.1948, allocations: 8 kB / 0.5814 GB, free: 10.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004085/0.1952, allocations: 339.1 kB / 0.5817 GB, free: 10.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1952, allocations: 0 / 0.5817 GB, free: 10.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005172/0.1957, allocations: 151.6 kB / 0.5819 GB, free: 10.28 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.001405/0.1971, allocations: 1.079 MB / 0.5829 GB, free: 9.168 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.1983, allocations: 402.5 kB / 0.5833 GB, free: 8.777 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1983, allocations: 0 / 0.5833 GB, free: 8.777 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007883/0.1991, allocations: 263.7 kB / 0.5836 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.1996, allocations: 99.34 kB / 0.5837 GB, free: 8.426 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006183/0.2058, allocations: 4.39 MB / 0.5879 GB, free: 3.957 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.2064, allocations: 0.8542 MB / 0.5888 GB, free: 3.074 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002772/0.2067, allocations: 83.22 kB / 0.5889 GB, free: 2.992 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.2069, allocations: 115.4 kB / 0.589 GB, free: 2.879 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.2069, allocations: 0 / 0.589 GB, free: 2.879 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3007/0.5076, allocations: 13.05 MB / 0.6017 GB, free: 35.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.67, allocations: 4.922 kB / 0.6017 GB, free: 35.46 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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.991445189341903]