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.001179/0.001179, allocations: 84.25 kB / 22.21 MB, free: 2.289 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.001578/0.001578, allocations: 166.9 kB / 25.61 MB, free: 8.445 MB / 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.063/1.063, allocations: 177 MB / 205.9 MB, free: 4.449 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.2196/0.2196, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.7 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.[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.944e-06/1.944e-06, allocations: 0 / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.125e-05, allocations: 4.328 kB / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.005804/0.005826, allocations: 2.234 MB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.007337, allocations: 1.141 MB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.007442, allocations: 4 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.007696, allocations: 63.59 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.01096, allocations: 115.2 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.01143, allocations: 195.2 kB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.01182, allocations: 0.517 MB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.01189, allocations: 25.28 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.01214, allocations: 227.2 kB / 384.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.01231, allocations: 171.4 kB / 384.7 MB, free: 17.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.01235, allocations: 12 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.01258, allocations: 147.7 kB / 384.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.593e-05/0.01267, allocations: 107.5 kB / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.01277, allocations: 127.5 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.01321, allocations: 0.4903 MB / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.01321, allocations: 4 kB / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01321, allocations: 0 / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.01322, allocations: 0 / 385.6 MB, free: 17.11 MB / 314.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.000748/0.01397, allocations: 0.7841 MB / 386.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.014, allocations: 12.03 kB / 386.4 MB, free: 16.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.01422, allocations: 108.6 kB / 386.5 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.01442, allocations: 235.8 kB / 386.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.01445, allocations: 37.38 kB / 386.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.01448, allocations: 44.38 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.01485, allocations: 416.3 kB / 387.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.01486, allocations: 7.875 kB / 387.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.01489, allocations: 20 kB / 387.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/0.01493, allocations: 28.98 kB / 387.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.01509, allocations: 134.8 kB / 387.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.01611, allocations: 1.286 MB / 388.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.01628, allocations: 145.2 kB / 388.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.01634, allocations: 55.03 kB / 388.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.01637, allocations: 15.92 kB / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.01638, allocations: 45.33 kB / 389 MB, free: 13.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.01638, allocations: 0 / 389 MB, free: 13.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003417/0.01673, allocations: 181.5 kB / 389.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.01675, allocations: 107.1 kB / 389.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.01687, allocations: 308.1 kB / 389.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.01689, allocations: 29.7 kB / 389.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.01697, allocations: 302.9 kB / 389.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.017, allocations: 79.36 kB / 389.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.68e-05/0.01707, allocations: 91.55 kB / 390 MB, free: 12.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.01713, allocations: 0.5156 MB / 390.5 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.01719, allocations: 32.25 kB / 390.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.0173, allocations: 211.6 kB / 390.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.01749, allocations: 280.6 kB / 391.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01749, allocations: 4 kB / 391.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002859/0.01778, allocations: 245.5 kB / 391.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.01779, allocations: 15.97 kB / 391.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.086e-05/0.01783, allocations: 43.92 kB / 391.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.01784, allocations: 8 kB / 391.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.01793, allocations: 31.97 kB / 391.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.01794, allocations: 11.94 kB / 391.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-05/0.01804, allocations: 31.83 kB / 391.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.01806, allocations: 20 kB / 391.5 MB, free: 10.83 MB / 314.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_1[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].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 9.481e-05/0.01815, allocations: 184.4 kB / 391.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.01821, allocations: 31.84 kB / 391.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.0185, allocations: 259.4 kB / 391.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.0185, allocations: 7.984 kB / 391.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.0185, allocations: 4 kB / 391.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01851, allocations: 0 / 391.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.01877, allocations: 233 kB / 392.2 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.509e-05/0.0188, allocations: 39.98 kB / 392.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.01885, allocations: 15.98 kB / 392.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.01886, allocations: 0 / 392.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.01887, allocations: 15.98 kB / 392.2 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01887, allocations: 4 kB / 392.2 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01888, allocations: 4 kB / 392.2 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.01915, allocations: 0.54 MB / 392.8 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.01917, allocations: 19.86 kB / 392.8 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.0192, allocations: 12 kB / 392.8 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.0193, allocations: 11.98 kB / 392.8 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.01936, allocations: 23.97 kB / 392.8 MB, free: 9.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.01937, allocations: 8 kB / 392.9 MB, free: 9.367 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.952e-05/0.01943, allocations: 193.1 kB / 393 MB, free: 9.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01943, allocations: 4 kB / 393 MB, free: 9.176 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003699/0.0198, allocations: 163.4 kB / 393.2 MB, free: 9.016 MB / 314.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.0002058/0.02001, allocations: 168.3 kB / 393.4 MB, free: 8.844 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.02027, allocations: 461.8 kB / 393.8 MB, free: 8.316 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.02028, allocations: 0 / 393.8 MB, free: 8.316 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.0204, allocations: 391.9 kB / 394.2 MB, free: 7.855 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.02073, allocations: 41.59 kB / 394.2 MB, free: 7.816 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009899/0.02172, allocations: 0.7697 MB / 395 MB, free: 7.004 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.245e-05/0.02179, allocations: 139.9 kB / 395.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.626e-05/0.02185, allocations: 13.91 kB / 395.2 MB, free: 6.832 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.02202, allocations: 174.2 kB / 395.3 MB, free: 6.66 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02202, allocations: 3.938 kB / 395.3 MB, free: 6.656 MB / 314.7 MB Notification: Performance of Templates: time 0.006813/0.02884, allocations: 6.196 MB / 401.5 MB, free: 0.5781 MB / 314.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.7284560832194984]