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.001691/0.001691, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001533/0.001533, allocations: 219.5 kB / 24.48 MB, free: 3.836 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.437/1.437, allocations: 230.5 MB / 258.1 MB, free: 7.809 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.3399/0.3399, allocations: 46.95 MB / 361.6 MB, free: 3.961 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 0.00245/0.00245, allocations: 75.88 kB / 0.4974 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3069, allocations: 66.09 MB / 0.562 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003817/0.3108, allocations: 2.121 MB / 0.564 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3128, allocations: 1.079 MB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.3129, allocations: 7.938 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.3132, allocations: 63.61 kB / 0.5651 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.3135, allocations: 103.3 kB / 0.5652 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.3141, allocations: 207.3 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005895/0.3147, allocations: 0.4899 MB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.068e-05/0.3148, allocations: 17.28 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.3151, allocations: 179.1 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.3153, allocations: 203 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.3154, allocations: 12 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.3157, allocations: 147.8 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.3158, allocations: 95.47 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.316, allocations: 155 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007099/0.3167, allocations: 0.5585 MB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3167, allocations: 0 / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3167, allocations: 0 / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3167, allocations: 0 / 0.5672 GB, free: 14.54 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.001263/0.318, allocations: 0.6882 MB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.318, allocations: 8.031 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.3184, allocations: 88.56 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.3189, allocations: 249.8 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.3189, allocations: 41.31 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.048e-05/0.319, allocations: 44.12 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3201, allocations: 0.6519 MB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3201, allocations: 0 / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.3202, allocations: 19.98 kB / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-05/0.3202, allocations: 32.98 kB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009222/0.3211, allocations: 479.5 kB / 0.5695 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.3232, allocations: 1.27 MB / 0.5707 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/0.3237, allocations: 287.6 kB / 0.571 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.3241, allocations: 150.4 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.795e-05/0.3242, allocations: 11.98 kB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3242, allocations: 34.56 kB / 0.5712 GB, free: 10.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 2.595e-06/0.3242, allocations: 0 / 0.5712 GB, free: 10.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001261/0.3255, allocations: 487.6 kB / 0.5716 GB, free: 9.871 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.3255, allocations: 106.8 kB / 0.5717 GB, free: 9.742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.3258, allocations: 264.9 kB / 0.572 GB, free: 9.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.3259, allocations: 25.7 kB / 0.572 GB, free: 9.441 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.326, allocations: 256.1 kB / 0.5723 GB, free: 9.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.384e-05/0.3261, allocations: 79.36 kB / 0.5723 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.3262, allocations: 77.97 kB / 0.5724 GB, free: 9.023 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3264, allocations: 330.8 kB / 0.5727 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.3268, allocations: 160.2 kB / 0.5729 GB, free: 8.535 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.3272, allocations: 284.5 kB / 0.5731 GB, free: 8.203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008628/0.3281, allocations: 449.1 kB / 0.5736 GB, free: 7.711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3281, allocations: 3.938 kB / 0.5736 GB, free: 7.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001023/0.3291, allocations: 484.8 kB / 0.574 GB, free: 7.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3291, allocations: 8 kB / 0.574 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.642e-05/0.3292, allocations: 43.98 kB / 0.5741 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.3292, allocations: 4 kB / 0.5741 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.3295, allocations: 52.42 kB / 0.5741 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.3295, allocations: 11.88 kB / 0.5742 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.3297, allocations: 43.77 kB / 0.5742 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.3298, allocations: 23.98 kB / 0.5742 GB, free: 7.043 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.0002674/0.3301, allocations: 209.6 kB / 0.5744 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.214e-05/0.3301, allocations: 23.8 kB / 0.5744 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008763/0.331, allocations: 425.4 kB / 0.5748 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.331, allocations: 8 kB / 0.5749 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.331, allocations: 3.938 kB / 0.5749 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.331, allocations: 0 / 0.5749 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.3316, allocations: 301 kB / 0.5751 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-05/0.3316, allocations: 43.98 kB / 0.5752 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.3318, allocations: 23.97 kB / 0.5752 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3318, allocations: 0 / 0.5752 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.3319, allocations: 12 kB / 0.5752 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3319, allocations: 0 / 0.5752 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3319, allocations: 7.938 kB / 0.5752 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000908/0.3328, allocations: 0.5868 MB / 0.5758 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.3328, allocations: 27.78 kB / 0.5758 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.3329, allocations: 4 kB / 0.5758 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.3331, allocations: 19.98 kB / 0.5759 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.16e-05/0.3332, allocations: 27.91 kB / 0.5759 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.3332, allocations: 12 kB / 0.5759 GB, free: 5.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.3334, allocations: 176.5 kB / 0.5761 GB, free: 5.098 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3334, allocations: 0 / 0.5761 GB, free: 5.098 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006263/0.334, allocations: 167.4 kB / 0.5762 GB, free: 4.934 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.0003154/0.3344, allocations: 162.9 kB / 0.5764 GB, free: 4.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.3355, allocations: 0.6533 MB / 0.577 GB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3355, allocations: 0 / 0.577 GB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006014/0.3361, allocations: 486.6 kB / 0.5775 GB, free: 3.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.3366, allocations: 35.8 kB / 0.5775 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.3384, allocations: 0.8918 MB / 0.5784 GB, free: 2.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.3386, allocations: 256.4 kB / 0.5786 GB, free: 2.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.3387, allocations: 19.42 kB / 0.5786 GB, free: 2.238 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3387, allocations: 0 / 0.5786 GB, free: 2.238 MB / 414.1 MB Notification: Performance of Templates: time 0.01019/0.3489, allocations: 6.679 MB / 0.5852 GB, free: 11.56 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: 8.110283027868718]