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.001844/0.001844, allocations: 93.14 kB / 20.69 MB, free: 1.016 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.002542/0.002542, allocations: 162.8 kB / 23.95 MB, free: 4.148 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.518/1.518, allocations: 177 MB / 204.1 MB, free: 9.129 MB / 190.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.2576/0.2576, allocations: 34.26 MB / 294.8 MB, free: 14.5 MB / 286.1 MB " [Timeout remaining time 179] 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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|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 2.815e-06/2.815e-06, allocations: 0 / 442.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.174e-05/5.455e-05, allocations: 2.281 kB / 442.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003941/0.003996, allocations: 2.148 MB / 444.8 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.00595, allocations: 1.067 MB / 445.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.006069, allocations: 0 / 445.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.006401, allocations: 71.47 kB / 446 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.006704, allocations: 111.2 kB / 446.1 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006697/0.007374, allocations: 203 kB / 446.3 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007405/0.008114, allocations: 0.5092 MB / 446.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.116e-05/0.008196, allocations: 21.28 kB / 446.8 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000428/0.008624, allocations: 231.1 kB / 447 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/0.008915, allocations: 175.4 kB / 447.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.519e-05/0.00897, allocations: 16 kB / 447.2 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003725/0.009342, allocations: 143.8 kB / 447.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.009492, allocations: 111.4 kB / 447.5 MB, free: 424 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.009664, allocations: 119.6 kB / 447.6 MB, free: 304 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.222/0.2316, allocations: 0.5316 MB / 448.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.2316, allocations: 0 / 448.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2316, allocations: 0 / 448.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.2317, allocations: 0 / 448.1 MB, free: 15.95 MB / 366.1 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.00138/0.233, allocations: 0.686 MB / 448.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2331, allocations: 10.12 kB / 448.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004833/0.2336, allocations: 84.8 kB / 448.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.2339, allocations: 246.7 kB / 449.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.234, allocations: 40.16 kB / 449.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.2341, allocations: 42.38 kB / 449.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.2352, allocations: 0.6558 MB / 449.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2353, allocations: 1.688 kB / 449.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.2353, allocations: 28.78 kB / 449.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.75e-05/0.2353, allocations: 23.17 kB / 449.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.2363, allocations: 481 kB / 450.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.2382, allocations: 1.267 MB / 451.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.2388, allocations: 290.7 kB / 452 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.2391, allocations: 149.3 kB / 452.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.683e-05/0.2392, allocations: 11.45 kB / 452.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.2392, allocations: 40.56 kB / 452.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 2.514e-06/0.2392, allocations: 0.5 kB / 452.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001379/0.2406, allocations: 477.8 kB / 452.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2406, allocations: 107.1 kB / 452.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.2409, allocations: 262.5 kB / 453 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.2409, allocations: 25.7 kB / 453 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.2411, allocations: 267.8 kB / 453.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.307e-05/0.2411, allocations: 68.67 kB / 453.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.2413, allocations: 81.94 kB / 453.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.2413, allocations: 338.8 kB / 453.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.2417, allocations: 159.6 kB / 453.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/0.2422, allocations: 279.1 kB / 454.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.243, allocations: 449.9 kB / 454.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.243, allocations: 1.188 kB / 454.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00107/0.2441, allocations: 483.4 kB / 455.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.2441, allocations: 8.297 kB / 455.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.946e-05/0.2442, allocations: 39.78 kB / 455.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/0.2442, allocations: 6.266 kB / 455.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.2445, allocations: 44.67 kB / 455.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.2445, allocations: 10.22 kB / 455.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.2448, allocations: 50.66 kB / 455.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.2448, allocations: 18.33 kB / 455.3 MB, free: 13.17 MB / 366.1 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.0002523/0.2451, allocations: 221.7 kB / 455.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.2452, allocations: 22.83 kB / 455.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009435/0.2461, allocations: 428 kB / 455.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.2461, allocations: 4.422 kB / 455.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2461, allocations: 5.719 kB / 455.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2462, allocations: 2.078 kB / 455.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.2467, allocations: 306.9 kB / 456.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.045e-05/0.2468, allocations: 38.5 kB / 456.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.2469, allocations: 31.05 kB / 456.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2469, allocations: 4.172 kB / 456.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.247, allocations: 10.98 kB / 456.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.247, allocations: 1.875 kB / 456.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.247, allocations: 4.297 kB / 456.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009095/0.2479, allocations: 0.5884 MB / 456.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.2479, allocations: 26.2 kB / 456.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.248, allocations: 2.203 kB / 456.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.2482, allocations: 22.55 kB / 457 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2483, allocations: 24.33 kB / 457 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.2484, allocations: 13.88 kB / 457 MB, free: 12.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.2485, allocations: 181.7 kB / 457.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2485, allocations: 0 / 457.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007282/0.2492, allocations: 162.6 kB / 457.3 MB, free: 12.18 MB / 366.1 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.0003863/0.2496, allocations: 154.8 kB / 457.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.2507, allocations: 0.6615 MB / 458.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2507, allocations: 4.188 kB / 458.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005154/0.2512, allocations: 476 kB / 458.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.2517, allocations: 31.12 kB / 458.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.2535, allocations: 0.8321 MB / 459.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.2538, allocations: 262.9 kB / 459.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001577/0.254, allocations: 48.88 kB / 459.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.2541, allocations: 23.52 kB / 459.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2541, allocations: 0 / 459.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of Templates: time 0.01225/0.2663, allocations: 5.538 MB / 465.3 MB, free: 9.836 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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: 5.4118059277534485]