Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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.0008515/0.0008515, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008773/0.0008773, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8828/0.8828, allocations: 177 MB / 204.1 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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.2485/0.2485, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 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_laminar_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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.483e-06/1.483e-06, allocations: 3.938 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.121e-05, allocations: 2.281 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.1833/0.1833, allocations: 1.964 MB / 444.2 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009118/0.1842, allocations: 0.8497 MB / 445 MB, free: 43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.1843, allocations: 2.938 kB / 445 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1845, allocations: 61.67 kB / 445.1 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.1849, allocations: 134.9 kB / 445.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.1851, allocations: 90.45 kB / 445.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.1853, allocations: 402.2 kB / 445.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.077e-05/0.1854, allocations: 18.47 kB / 445.7 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.1856, allocations: 200.6 kB / 445.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.1858, allocations: 165.9 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.1858, allocations: 11.47 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.186, allocations: 72.27 kB / 446.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.186, allocations: 97.09 kB / 446.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.1861, allocations: 105.6 kB / 446.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.1864, allocations: 402.8 kB / 446.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1864, allocations: 3.125 kB / 446.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1864, allocations: 0 / 446.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1864, allocations: 0 / 446.7 MB, free: 42.52 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.0005992/0.187, allocations: 0.5842 MB / 447.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1871, allocations: 11.12 kB / 447.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.248e-05/0.1871, allocations: 82.3 kB / 447.4 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.1872, allocations: 44.75 kB / 447.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.1874, allocations: 230.3 kB / 447.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1874, allocations: 23.06 kB / 447.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1874, allocations: 38.28 kB / 447.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.1879, allocations: 0.5618 MB / 448.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1879, allocations: 5.531 kB / 448.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.1879, allocations: 17.97 kB / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-05/0.1879, allocations: 40.59 kB / 448.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.1885, allocations: 0.5693 MB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009569/0.1894, allocations: 1.079 MB / 450 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.1898, allocations: 369.4 kB / 450.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.19, allocations: 128.9 kB / 450.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.19, allocations: 2.75 kB / 450.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.19, allocations: 42.11 kB / 450.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.263e-06/0.19, allocations: 0 / 450.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005506/0.1906, allocations: 467.2 kB / 451 MB, free: 40.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.1906, allocations: 58.25 kB / 451.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.1908, allocations: 452.4 kB / 451.5 MB, free: 40.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1908, allocations: 28.3 kB / 451.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.1909, allocations: 198.8 kB / 451.7 MB, free: 40.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1909, allocations: 71.19 kB / 451.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.191, allocations: 54.64 kB / 451.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.191, allocations: 351.8 kB / 452.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1912, allocations: 110.7 kB / 452.3 MB, free: 39.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1913, allocations: 123.8 kB / 452.4 MB, free: 39.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.1916, allocations: 269.4 kB / 452.7 MB, free: 39.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1916, allocations: 0 / 452.7 MB, free: 39.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003561/0.192, allocations: 349 kB / 453 MB, free: 39.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.192, allocations: 5.812 kB / 453 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.192, allocations: 0 / 453 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.192, allocations: 2.75 kB / 453 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.1924, allocations: 159.7 kB / 453.2 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000976/0.1934, allocations: 5.519 MB / 458.7 MB, free: 34.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-05/0.1934, allocations: 54.84 kB / 458.8 MB, free: 34.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.1935, allocations: 14.47 kB / 458.8 MB, free: 34.33 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.0001076/0.1936, allocations: 186.4 kB / 459 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.1936, allocations: 44.67 kB / 459 MB, free: 34.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.1941, allocations: 449.5 kB / 459.4 MB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1941, allocations: 2.906 kB / 459.4 MB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1941, allocations: 3.938 kB / 459.4 MB, free: 34.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1941, allocations: 7.438 kB / 459.4 MB, free: 34.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.1943, allocations: 320.4 kB / 459.8 MB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.1943, allocations: 3.156 kB / 459.8 MB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.1946, allocations: 159.9 kB / 459.9 MB, free: 33.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1946, allocations: 0 / 459.9 MB, free: 33.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1946, allocations: 17.58 kB / 459.9 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008737/0.1955, allocations: 5.512 MB / 465.4 MB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1955, allocations: 0 / 465.4 MB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.1958, allocations: 455.6 kB / 465.9 MB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.1959, allocations: 40.97 kB / 465.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1959, allocations: 11.06 kB / 465.9 MB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.045e-05/0.196, allocations: 10.28 kB / 466 MB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.196, allocations: 23.05 kB / 466 MB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1961, allocations: 9.703 kB / 466 MB, free: 28.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.1962, allocations: 335.2 kB / 466.3 MB, free: 28.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1962, allocations: 0 / 466.3 MB, free: 28.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002297/0.1965, allocations: 109.9 kB / 466.4 MB, free: 28.03 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.0005842/0.197, allocations: 1.014 MB / 467.4 MB, free: 27.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000599/0.1976, allocations: 404.8 kB / 467.8 MB, free: 27.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1976, allocations: 0 / 467.8 MB, free: 27.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.198, allocations: 281.8 kB / 468.1 MB, free: 27.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.1983, allocations: 91.36 kB / 468.2 MB, free: 27.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.2013, allocations: 4.386 MB / 472.6 MB, free: 25.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.2014, allocations: 245.7 kB / 472.8 MB, free: 25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000119/0.2016, allocations: 84.97 kB / 472.9 MB, free: 25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.843e-05/0.2017, allocations: 114.4 kB / 473 MB, free: 24.92 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2017, allocations: 0 / 473 MB, free: 24.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.2233, allocations: 13.03 MB / 486 MB, free: 23.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.1, allocations: 2.281 kB / 486 MB, free: 23.09 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.29541357792914]