Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001506/0.001506, 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.001004/0.001004, allocations: 167.2 kB / 24.82 MB, free: 8.918 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.067/1.067, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.292/0.292, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.563e-05, allocations: 2.312 kB / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003419/0.003445, allocations: 2.245 MB / 380.8 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.005077, allocations: 1.145 MB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.005205, allocations: 8 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.005509, allocations: 67.53 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.005733, allocations: 107.2 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.006173, allocations: 199.3 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.006574, allocations: 0.5131 MB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.825e-05/0.006632, allocations: 17.28 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.006903, allocations: 235 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.007073, allocations: 175.4 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.007103, allocations: 12 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.007319, allocations: 147.8 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.007414, allocations: 99.47 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.574e-05/0.007509, allocations: 123.5 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.007952, allocations: 0.4942 MB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.007953, allocations: 0 / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.007954, allocations: 0 / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.007959, allocations: 0 / 384.1 MB, free: 12.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.00106/0.009019, allocations: 0.788 MB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.009061, allocations: 16.02 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.009288, allocations: 108.6 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.009507, allocations: 231.9 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.009532, allocations: 37.38 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.009567, allocations: 40.38 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.009983, allocations: 424.3 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.009997, allocations: 3.938 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.01002, allocations: 16 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.01006, allocations: 24.98 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.01022, allocations: 142.8 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.01127, allocations: 1.286 MB / 387.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.01145, allocations: 149.2 kB / 387.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.446e-05/0.01152, allocations: 55.12 kB / 387.4 MB, free: 9.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.01156, allocations: 35.72 kB / 387.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.01159, allocations: 41.38 kB / 387.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.01159, allocations: 0 / 387.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003355/0.01192, allocations: 169.5 kB / 387.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.01197, allocations: 110.8 kB / 387.7 MB, free: 8.895 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.01214, allocations: 312.2 kB / 388.1 MB, free: 8.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.01216, allocations: 29.7 kB / 388.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.01229, allocations: 310.8 kB / 388.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.01233, allocations: 79.34 kB / 388.5 MB, free: 8.148 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/0.01243, allocations: 95.55 kB / 388.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.01256, allocations: 0.5078 MB / 389.1 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.126e-05/0.01262, allocations: 36.25 kB / 389.1 MB, free: 7.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.01276, allocations: 207.3 kB / 389.3 MB, free: 7.211 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.01299, allocations: 272 kB / 389.6 MB, free: 6.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01299, allocations: 0 / 389.6 MB, free: 6.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002936/0.01329, allocations: 254.3 kB / 389.8 MB, free: 6.617 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.0133, allocations: 8.031 kB / 389.8 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.114e-05/0.01334, allocations: 43.98 kB / 389.9 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01336, allocations: 4 kB / 389.9 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.01345, allocations: 35.91 kB / 389.9 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.01345, allocations: 8 kB / 389.9 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.878e-05/0.01355, allocations: 39.77 kB / 389.9 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.01357, allocations: 20 kB / 390 MB, free: 6.461 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.000116/0.01369, allocations: 184.4 kB / 390.1 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.01374, allocations: 31.8 kB / 390.2 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.01406, allocations: 258.3 kB / 390.4 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01406, allocations: 4 kB / 390.4 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01407, allocations: 4 kB / 390.4 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01407, allocations: 0 / 390.4 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.01435, allocations: 252.9 kB / 390.7 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/0.01438, allocations: 36 kB / 390.7 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.01443, allocations: 19.97 kB / 390.7 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01443, allocations: 0 / 390.7 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.01445, allocations: 12 kB / 390.8 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01445, allocations: 4 kB / 390.8 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01445, allocations: 7.938 kB / 390.8 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.01477, allocations: 0.5298 MB / 391.3 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.01479, allocations: 23.84 kB / 391.3 MB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.01482, allocations: 4 kB / 391.3 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.01491, allocations: 8 kB / 391.3 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.01497, allocations: 27.91 kB / 391.4 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.01498, allocations: 19.92 kB / 391.4 MB, free: 4.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004185/0.0154, allocations: 185.1 kB / 391.6 MB, free: 4.816 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0154, allocations: 0 / 391.6 MB, free: 4.816 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.01574, allocations: 163.5 kB / 391.7 MB, free: 4.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.0002098/0.01595, allocations: 166.9 kB / 391.9 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.01628, allocations: 468.7 kB / 392.3 MB, free: 3.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01629, allocations: 0 / 392.3 MB, free: 3.949 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.01647, allocations: 387.5 kB / 392.7 MB, free: 3.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.0168, allocations: 49.55 kB / 392.8 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.01786, allocations: 0.7542 MB / 393.5 MB, free: 2.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.03e-05/0.01795, allocations: 147.9 kB / 393.7 MB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.6e-05/0.018, allocations: 17.89 kB / 393.7 MB, free: 2.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.0182, allocations: 170.2 kB / 393.8 MB, free: 2.301 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.0182, allocations: 0 / 393.8 MB, free: 2.301 MB / 362.7 MB Notification: Performance of Templates: time 0.008276/0.02648, allocations: 6.095 MB / 399.9 MB, free: 12.27 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.3340854849666357]