Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.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.001404/0.001404, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.00153/0.00153, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9917/0.9917, allocations: 177 MB / 204.8 MB, free: 5.59 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.2812/0.2812, allocations: 34.87 MB / 296.3 MB, free: 0.5742 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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|frac_dhydTodcoil.[0-9,]+.|d_coil.[0-9,]+.|d_w.[0-9,]+.|n_nt.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|frac_dhydTodcoil.[0-9,]+.|d_coil.[0-9,]+.|d_w.[0-9,]+.|n_nt.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.34e-05, allocations: 4.984 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.002522/0.002546, allocations: 2.164 MB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.004996, allocations: 2.098 MB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.842e-05/0.005094, allocations: 4 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.005362, allocations: 71.47 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.005631, allocations: 119.2 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006866/0.006318, allocations: 430.1 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.006756, allocations: 477.6 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.006814, allocations: 16.94 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.007095, allocations: 219.1 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.007274, allocations: 171.4 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.007304, allocations: 12 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/0.007733, allocations: 359.3 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.00786, allocations: 119.4 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.00796, allocations: 119.5 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006129/0.008573, allocations: 0.6228 MB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.008576, allocations: 0 / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.008577, allocations: 7.938 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.008583, allocations: 0 / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008687/0.009452, allocations: 0.7878 MB / 386.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.009494, allocations: 12.03 kB / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.009745, allocations: 104.6 kB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.01003, allocations: 241 kB / 386.9 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.01005, allocations: 37.36 kB / 386.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.01009, allocations: 40.38 kB / 387 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.01056, allocations: 408.3 kB / 387.4 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.01057, allocations: 192 / 387.4 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.0106, allocations: 16.38 kB / 387.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.01063, allocations: 24.92 kB / 387.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.01085, allocations: 145.9 kB / 387.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.01199, allocations: 1.286 MB / 388.8 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.0122, allocations: 153.2 kB / 389 MB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.23e-05/0.01229, allocations: 47.06 kB / 389 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.01233, allocations: 15.92 kB / 389.1 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.01236, allocations: 45.33 kB / 389.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.01236, allocations: 0 / 389.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004021/0.01277, allocations: 173.5 kB / 389.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.01281, allocations: 106.8 kB / 389.4 MB, free: 7.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.01299, allocations: 292.3 kB / 389.7 MB, free: 6.926 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.01301, allocations: 29.95 kB / 389.7 MB, free: 6.891 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.01313, allocations: 294.8 kB / 390 MB, free: 6.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.01317, allocations: 59.48 kB / 390 MB, free: 6.539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.01323, allocations: 55.45 kB / 390.1 MB, free: 6.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.01337, allocations: 0.5117 MB / 390.6 MB, free: 5.953 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.348e-05/0.01344, allocations: 31.92 kB / 390.6 MB, free: 5.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.01354, allocations: 90.09 kB / 390.7 MB, free: 5.809 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.01373, allocations: 124.2 kB / 390.8 MB, free: 5.664 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01373, allocations: 4 kB / 390.8 MB, free: 5.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00026/0.01399, allocations: 173.3 kB / 391 MB, free: 5.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.014, allocations: 8 kB / 391 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.924e-05/0.01404, allocations: 27.98 kB / 391.1 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.01406, allocations: 4 kB / 391.1 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.01416, allocations: 27.92 kB / 391.1 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.01417, allocations: 7.922 kB / 391.1 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/0.01426, allocations: 28.05 kB / 391.1 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.01427, allocations: 15.98 kB / 391.1 MB, free: 5.367 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.921e-05/0.01437, allocations: 164.5 kB / 391.3 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.01443, allocations: 23.86 kB / 391.3 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.01474, allocations: 221.5 kB / 391.5 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01474, allocations: 4 kB / 391.5 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01474, allocations: 3.938 kB / 391.5 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01475, allocations: 0 / 391.5 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.01506, allocations: 316.4 kB / 391.9 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.102e-05/0.01509, allocations: 27.98 kB / 391.9 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.01515, allocations: 19.98 kB / 391.9 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01515, allocations: 3.938 kB / 391.9 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.01517, allocations: 15.98 kB / 391.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.01517, allocations: 3.938 kB / 391.9 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.01517, allocations: 4 kB / 391.9 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.01549, allocations: 0.5138 MB / 392.4 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.01557, allocations: 51.86 kB / 392.5 MB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.01559, allocations: 4 kB / 392.5 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.01571, allocations: 11.98 kB / 392.5 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.01577, allocations: 31.91 kB / 392.5 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.01578, allocations: 8 kB / 392.5 MB, free: 3.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.01589, allocations: 209.1 kB / 392.8 MB, free: 3.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01589, allocations: 0 / 392.8 MB, free: 3.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003634/0.01625, allocations: 187.2 kB / 392.9 MB, free: 3.496 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003053/0.01656, allocations: 246.6 kB / 393.2 MB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.01687, allocations: 335.2 kB / 393.5 MB, free: 2.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01687, allocations: 4.062 kB / 393.5 MB, free: 2.855 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.01704, allocations: 306.9 kB / 393.8 MB, free: 2.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.01738, allocations: 37.25 kB / 393.8 MB, free: 2.461 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.01849, allocations: 0.7299 MB / 394.6 MB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.834e-05/0.01858, allocations: 135.9 kB / 394.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.852e-05/0.01864, allocations: 21.48 kB / 394.7 MB, free: 1.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.01868, allocations: 28.48 kB / 394.8 MB, free: 1.484 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01869, allocations: 0 / 394.8 MB, free: 1.484 MB / 362.7 MB Notification: Performance of Templates: time 0.007344/0.02603, allocations: 6.373 MB / 401.1 MB, free: 11.21 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall/kc_overall.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4780759532004595]