Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 167.6 kB / 24.82 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3034/0.3034, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.246e-05, allocations: 2.312 kB / 376.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.00334/0.003373, allocations: 2.243 MB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.005134, allocations: 1.141 MB / 379.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.005296, allocations: 4 kB / 379.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.005681, allocations: 67.53 kB / 380 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.005984, allocations: 115.2 kB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.006629, allocations: 187.3 kB / 380.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.007108, allocations: 0.5209 MB / 380.8 MB, free: 72 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.877e-05/0.007187, allocations: 21.28 kB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.007616, allocations: 231.1 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.007832, allocations: 171.4 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.007867, allocations: 12 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.008162, allocations: 147.8 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.008282, allocations: 103.5 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.008386, allocations: 119.6 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005853/0.008971, allocations: 0.4942 MB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.008978, allocations: 3.938 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.00898, allocations: 0 / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.008987, allocations: 4 kB / 382.1 MB, free: 14.77 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.0009942/0.009981, allocations: 0.788 MB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.01004, allocations: 8.031 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.01037, allocations: 116.6 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.01068, allocations: 223.9 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.01072, allocations: 37.38 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.01076, allocations: 40.38 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009791/0.01174, allocations: 432.3 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.01176, allocations: 3.938 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.01178, allocations: 16 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/0.01184, allocations: 24.94 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.01202, allocations: 130.9 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.01322, allocations: 1.294 MB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.01343, allocations: 153.2 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.0135, allocations: 55.19 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.135e-05/0.01355, allocations: 27.69 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.01358, allocations: 45.33 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.405e-06/0.01358, allocations: 0 / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003826/0.01397, allocations: 175.7 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.01401, allocations: 106.8 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.0142, allocations: 312 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.01422, allocations: 29.7 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.01435, allocations: 306.8 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.0144, allocations: 75.61 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.01449, allocations: 95.55 kB / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.01464, allocations: 0.5156 MB / 387 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.045e-05/0.01471, allocations: 36.25 kB / 387.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.01487, allocations: 207.3 kB / 387.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.01512, allocations: 270.1 kB / 387.5 MB, free: 8.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.01512, allocations: 0 / 387.5 MB, free: 8.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003269/0.01545, allocations: 251.1 kB / 387.8 MB, free: 8.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.01547, allocations: 8 kB / 387.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.65e-05/0.01552, allocations: 39.98 kB / 387.8 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.01554, allocations: 4.531 kB / 387.8 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.01566, allocations: 43.91 kB / 387.9 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.01567, allocations: 11.92 kB / 387.9 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.01577, allocations: 39.77 kB / 387.9 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.01579, allocations: 20 kB / 387.9 MB, free: 8.469 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_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 0.0001533/0.01595, allocations: 184.4 kB / 388.1 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.01601, allocations: 27.86 kB / 388.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.01637, allocations: 258.8 kB / 388.4 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.01638, allocations: 7.984 kB / 388.4 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01638, allocations: 4 kB / 388.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01639, allocations: 4 kB / 388.4 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.01669, allocations: 244.9 kB / 388.7 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.176e-05/0.01673, allocations: 39.98 kB / 388.7 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.798e-05/0.0168, allocations: 23.98 kB / 388.7 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01681, allocations: 0 / 388.7 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.01683, allocations: 8 kB / 388.7 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.01683, allocations: 3.984 kB / 388.7 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.01683, allocations: 4 kB / 388.7 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.0172, allocations: 0.5368 MB / 389.3 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.01723, allocations: 19.86 kB / 389.3 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.01725, allocations: 12 kB / 389.3 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.01737, allocations: 11.98 kB / 389.3 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.01743, allocations: 27.91 kB / 389.3 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.01744, allocations: 15.94 kB / 389.4 MB, free: 6.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.897e-05/0.01753, allocations: 189.1 kB / 389.5 MB, free: 6.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01753, allocations: 0 / 389.5 MB, free: 6.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003976/0.01793, allocations: 159.5 kB / 389.7 MB, free: 6.656 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.0002862/0.01822, allocations: 159 kB / 389.9 MB, free: 6.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003734/0.01859, allocations: 465.5 kB / 390.3 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.01859, allocations: 0 / 390.3 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005462/0.01914, allocations: 388 kB / 390.7 MB, free: 5.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.0195, allocations: 44.41 kB / 390.7 MB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.0207, allocations: 0.7586 MB / 391.5 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.0208, allocations: 135.9 kB / 391.6 MB, free: 4.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.387e-05/0.02087, allocations: 25.88 kB / 391.7 MB, free: 4.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.02108, allocations: 174.2 kB / 391.8 MB, free: 4.309 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.02108, allocations: 0 / 391.8 MB, free: 4.309 MB / 362.7 MB Notification: Performance of Templates: time 0.009239/0.03032, allocations: 6.091 MB / 397.9 MB, free: 14.28 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.457231923006475]