Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.001402/0.001402, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001725/0.001725, allocations: 156.5 kB / 24.55 MB, free: 16 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 1.05/1.05, allocations: 177 MB / 204.8 MB, free: 5.562 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.2496/0.2496, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.StraightPipe.kc_laminar,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,]+.|Nu_4.[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.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,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,]+.|Nu_4.[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.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.773e-05, allocations: 7.016 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004179/0.004206, allocations: 2.268 MB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.006378, allocations: 1.153 MB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.006569, allocations: 4 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.006928, allocations: 67.53 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.007275, allocations: 111.2 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007764/0.008052, allocations: 199.2 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006758/0.008727, allocations: 0.5131 MB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.008826, allocations: 21.28 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005067/0.009333, allocations: 231.1 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.009618, allocations: 171.4 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.009661, allocations: 16 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.01006, allocations: 143.8 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.01021, allocations: 103.5 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.01037, allocations: 123.5 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008318/0.01121, allocations: 0.4981 MB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.01121, allocations: 0 / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.01121, allocations: 0 / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.01123, allocations: 4 kB / 384.4 MB, free: 12.41 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001281/0.01251, allocations: 0.7842 MB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.01257, allocations: 12.03 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004595/0.01303, allocations: 112.6 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.01349, allocations: 239.9 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.01354, allocations: 37.38 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/0.01361, allocations: 40.38 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008345/0.01444, allocations: 456.4 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.01446, allocations: 11.86 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.01451, allocations: 20 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.647e-05/0.01458, allocations: 24.98 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.01498, allocations: 173.8 kB / 386.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.01684, allocations: 1.395 MB / 387.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.01717, allocations: 165.2 kB / 387.8 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.01729, allocations: 55.19 kB / 387.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.664e-05/0.01735, allocations: 19.86 kB / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.01738, allocations: 45.33 kB / 388 MB, free: 8.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 3.096e-06/0.01739, allocations: 3.938 kB / 388 MB, free: 8.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006027/0.01799, allocations: 193.5 kB / 388.2 MB, free: 8.453 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.01804, allocations: 106.8 kB / 388.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.01831, allocations: 304.2 kB / 388.6 MB, free: 8.008 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.01834, allocations: 29.7 kB / 388.6 MB, free: 7.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.01851, allocations: 314.8 kB / 388.9 MB, free: 7.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.01857, allocations: 71.62 kB / 389 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.0187, allocations: 95.58 kB / 389.1 MB, free: 7.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.01886, allocations: 0.5117 MB / 389.6 MB, free: 6.961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.019, allocations: 40.27 kB / 389.6 MB, free: 6.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.01923, allocations: 216.2 kB / 389.8 MB, free: 6.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.01961, allocations: 288.5 kB / 390.1 MB, free: 6.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.01961, allocations: 4 kB / 390.1 MB, free: 6.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005427/0.02015, allocations: 265.1 kB / 390.4 MB, free: 6.012 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.02018, allocations: 4 kB / 390.4 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-05/0.02025, allocations: 43.98 kB / 390.4 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/0.02028, allocations: 4.531 kB / 390.4 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.02045, allocations: 43.91 kB / 390.5 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.02046, allocations: 7.938 kB / 390.5 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.02064, allocations: 39.77 kB / 390.5 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.02068, allocations: 23.94 kB / 390.5 MB, free: 5.848 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 0.0001596/0.02083, allocations: 180.5 kB / 390.7 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.714e-05/0.02093, allocations: 27.86 kB / 390.7 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005426/0.02147, allocations: 269.9 kB / 391 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.02148, allocations: 7.984 kB / 391 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.02149, allocations: 4 kB / 391 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.0215, allocations: 4 kB / 391 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.02202, allocations: 332.3 kB / 391.3 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.436e-05/0.02209, allocations: 39.98 kB / 391.4 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.02219, allocations: 19.97 kB / 391.4 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.0222, allocations: 0 / 391.4 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.02222, allocations: 12 kB / 391.4 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.02223, allocations: 0 / 391.4 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.02223, allocations: 4 kB / 391.4 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.02275, allocations: 0.5454 MB / 392 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.0228, allocations: 27.84 kB / 392 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.02283, allocations: 15.94 kB / 392 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.02304, allocations: 8 kB / 392 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/0.02313, allocations: 31.91 kB / 392 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.02316, allocations: 15.98 kB / 392.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001472/0.0233, allocations: 193.1 kB / 392.2 MB, free: 4.066 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0233, allocations: 0 / 392.2 MB, free: 4.066 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006996/0.024, allocations: 163.4 kB / 392.4 MB, free: 3.906 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003421/0.02434, allocations: 159 kB / 392.6 MB, free: 3.742 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005617/0.02491, allocations: 476.9 kB / 393 MB, free: 3.199 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02491, allocations: 4.062 kB / 393 MB, free: 3.195 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.02519, allocations: 392 kB / 393.4 MB, free: 2.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.02575, allocations: 36.48 kB / 393.4 MB, free: 2.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.02762, allocations: 0.7583 MB / 394.2 MB, free: 1.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.02775, allocations: 143.9 kB / 394.3 MB, free: 1.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.02789, allocations: 49.78 kB / 394.4 MB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.02794, allocations: 16.5 kB / 394.4 MB, free: 1.668 MB / 362.7 MB Notification: Performance of SimCode: time 1.093e-06/0.02794, allocations: 0 / 394.4 MB, free: 1.668 MB / 362.7 MB Notification: Performance of Templates: time 0.01043/0.03837, allocations: 5.544 MB / 400 MB, free: 12.22 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.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.482315542642027]