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.001441/0.001441, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001623/0.001623, allocations: 213.1 kB / 24.5 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.35/1.35, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.225/0.225, allocations: 46.93 MB / 361.5 MB, free: 4.195 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: 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 0.002167/0.002167, allocations: 79.88 kB / 0.4975 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2781, allocations: 66.08 MB / 0.562 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003584/0.2817, allocations: 2.238 MB / 0.5642 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.2836, allocations: 1.203 MB / 0.5654 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.914e-05/0.2837, allocations: 4 kB / 0.5654 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.284, allocations: 71.58 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.2843, allocations: 103.4 kB / 0.5655 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.2848, allocations: 195.3 kB / 0.5657 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.2853, allocations: 0.4899 MB / 0.5662 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.21e-05/0.2854, allocations: 17.28 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.2857, allocations: 191 kB / 0.5664 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.2859, allocations: 207 kB / 0.5666 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.286, allocations: 16 kB / 0.5666 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004967/0.2865, allocations: 335.5 kB / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2866, allocations: 99.45 kB / 0.567 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.2868, allocations: 182.8 kB / 0.5672 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.2875, allocations: 0.6014 MB / 0.5678 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2875, allocations: 4 kB / 0.5678 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2875, allocations: 0 / 0.5678 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.2875, allocations: 4 kB / 0.5678 GB, free: 14.3 MB / 414.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.001182/0.2886, allocations: 0.6882 MB / 0.5685 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2887, allocations: 11.97 kB / 0.5685 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003883/0.2891, allocations: 88.56 kB / 0.5686 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.2895, allocations: 253.8 kB / 0.5688 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.2895, allocations: 37.38 kB / 0.5688 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/0.2896, allocations: 48.11 kB / 0.5689 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.2906, allocations: 0.6558 MB / 0.5695 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2906, allocations: 0 / 0.5695 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.2907, allocations: 16 kB / 0.5695 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/0.2907, allocations: 25 kB / 0.5696 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.2916, allocations: 487.5 kB / 0.57 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.2936, allocations: 1.468 MB / 0.5715 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.2942, allocations: 291.5 kB / 0.5717 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.2945, allocations: 142.5 kB / 0.5719 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.2946, allocations: 15.97 kB / 0.5719 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.2946, allocations: 34.56 kB / 0.5719 GB, free: 9.887 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.2946, allocations: 0 / 0.5719 GB, free: 9.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001197/0.2958, allocations: 0.497 MB / 0.5724 GB, free: 9.383 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.2959, allocations: 106.8 kB / 0.5725 GB, free: 9.254 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006188/0.2965, allocations: 0.5449 MB / 0.573 GB, free: 8.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.2965, allocations: 29.7 kB / 0.5731 GB, free: 8.664 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.2967, allocations: 232.3 kB / 0.5733 GB, free: 8.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/0.2968, allocations: 79.31 kB / 0.5734 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.2969, allocations: 85.86 kB / 0.5734 GB, free: 8.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.2971, allocations: 354.8 kB / 0.5738 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.2974, allocations: 156.1 kB / 0.5739 GB, free: 7.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.2979, allocations: 280.8 kB / 0.5742 GB, free: 7.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007972/0.2987, allocations: 449 kB / 0.5746 GB, free: 6.934 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2987, allocations: 0 / 0.5746 GB, free: 6.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009803/0.2997, allocations: 0.4932 MB / 0.5751 GB, free: 6.434 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2997, allocations: 14.28 kB / 0.5751 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.981e-05/0.2998, allocations: 39.98 kB / 0.5752 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.2998, allocations: 11.94 kB / 0.5752 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.3, allocations: 39.91 kB / 0.5752 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.3, allocations: 15.92 kB / 0.5752 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.3003, allocations: 67.5 kB / 0.5753 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.3003, allocations: 23.98 kB / 0.5753 GB, free: 6.227 MB / 414.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.0002344/0.3006, allocations: 218.9 kB / 0.5755 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3007, allocations: 43.72 kB / 0.5756 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008708/0.3016, allocations: 449 kB / 0.576 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.3016, allocations: 7.938 kB / 0.576 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3016, allocations: 0 / 0.576 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3016, allocations: 4 kB / 0.576 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.3021, allocations: 352.4 kB / 0.5763 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.168e-05/0.3022, allocations: 39.98 kB / 0.5764 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.3023, allocations: 27.97 kB / 0.5764 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.3023, allocations: 4 kB / 0.5764 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.3024, allocations: 15.98 kB / 0.5764 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.3024, allocations: 3.938 kB / 0.5764 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3024, allocations: 0 / 0.5764 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008797/0.3032, allocations: 0.6101 MB / 0.577 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.3033, allocations: 51.64 kB / 0.5771 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/0.3034, allocations: 4 kB / 0.5771 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.3037, allocations: 27.91 kB / 0.5771 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.3038, allocations: 27.97 kB / 0.5771 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.3038, allocations: 8 kB / 0.5771 GB, free: 4.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004336/0.3042, allocations: 399 kB / 0.5775 GB, free: 3.895 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3042, allocations: 0 / 0.5775 GB, free: 3.895 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005357/0.3047, allocations: 131.8 kB / 0.5776 GB, free: 3.766 MB / 414.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.0002913/0.305, allocations: 166.8 kB / 0.5778 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009994/0.306, allocations: 0.6571 MB / 0.5784 GB, free: 2.863 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.306, allocations: 0 / 0.5784 GB, free: 2.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005494/0.3066, allocations: 476.2 kB / 0.5789 GB, free: 2.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006698/0.3073, allocations: 120 kB / 0.579 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.3088, allocations: 0.9423 MB / 0.5799 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.3094, allocations: 0.8659 MB / 0.5808 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/0.3094, allocations: 31.42 kB / 0.5808 GB, free: 304 kB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3094, allocations: 0 / 0.5808 GB, free: 304 kB / 414.1 MB Notification: Performance of Templates: time 0.01184/0.3213, allocations: 8.324 MB / 0.5889 GB, free: 8.027 MB / 430.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/jenkins1/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/jenkins1/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: 7.518836478935555]