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.001097/0.001097, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001191/0.001191, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 0.9792/0.9792, allocations: 177.1 MB / 205 MB, free: 5.301 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.2767/0.2767, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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 1.673e-06/1.673e-06, allocations: 0 / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.589e-05, allocations: 5.547 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002683/0.002709, allocations: 2.258 MB / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.004186, allocations: 1.153 MB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.185e-05/0.004278, allocations: 7.938 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.004547, allocations: 63.59 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.004769, allocations: 115.2 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.005193, allocations: 191.2 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.005616, allocations: 0.517 MB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.855e-05/0.005675, allocations: 29.27 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.005927, allocations: 227.1 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.006095, allocations: 175.4 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.006125, allocations: 12 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.006338, allocations: 143.8 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-05/0.006431, allocations: 103.5 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.006533, allocations: 123.5 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.006977, allocations: 0.4903 MB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.00698, allocations: 0 / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.00698, allocations: 0 / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.006985, allocations: 4 kB / 383.7 MB, free: 13.02 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.0007488/0.007734, allocations: 0.7842 MB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.007771, allocations: 12.03 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.00802, allocations: 116.6 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.008276, allocations: 231.9 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.0083, allocations: 33.38 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.008343, allocations: 52.34 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.008843, allocations: 460.3 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.008858, allocations: 3.938 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.008885, allocations: 27.94 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/0.008922, allocations: 21 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.009165, allocations: 169.8 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.01039, allocations: 1.399 MB / 387 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.01062, allocations: 161.2 kB / 387.1 MB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/0.01072, allocations: 59.19 kB / 387.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.01076, allocations: 15.86 kB / 387.2 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.01079, allocations: 45.33 kB / 387.2 MB, free: 9.254 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.01079, allocations: 0 / 387.2 MB, free: 9.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004526/0.01124, allocations: 195 kB / 387.4 MB, free: 9.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.0113, allocations: 106.8 kB / 387.5 MB, free: 8.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.0115, allocations: 312.2 kB / 387.8 MB, free: 8.605 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.01152, allocations: 25.7 kB / 387.9 MB, free: 8.574 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.01166, allocations: 310.8 kB / 388.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.0117, allocations: 75.61 kB / 388.2 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/0.01179, allocations: 95.58 kB / 388.3 MB, free: 8.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.01193, allocations: 0.5117 MB / 388.8 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-05/0.01203, allocations: 44.25 kB / 388.9 MB, free: 7.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.01219, allocations: 211.4 kB / 389.1 MB, free: 7.238 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.01249, allocations: 288.7 kB / 389.4 MB, free: 6.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.0125, allocations: 0 / 389.4 MB, free: 6.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003718/0.01287, allocations: 269 kB / 389.6 MB, free: 6.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.01288, allocations: 8 kB / 389.6 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.663e-05/0.01293, allocations: 43.92 kB / 389.7 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.01295, allocations: 4.531 kB / 389.7 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.01306, allocations: 43.91 kB / 389.7 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.01307, allocations: 8 kB / 389.7 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.96e-05/0.01317, allocations: 35.77 kB / 389.8 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.0132, allocations: 27.94 kB / 389.8 MB, free: 6.445 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_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.0001119/0.01331, allocations: 176.5 kB / 390 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.01337, allocations: 35.84 kB / 390 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.01375, allocations: 273.1 kB / 390.3 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.01375, allocations: 4 kB / 390.3 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.01376, allocations: 0 / 390.3 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01376, allocations: 4 kB / 390.3 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.01411, allocations: 336.3 kB / 390.6 MB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.331e-05/0.01415, allocations: 39.98 kB / 390.6 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.01421, allocations: 15.98 kB / 390.7 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.01421, allocations: 4 kB / 390.7 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.01423, allocations: 12 kB / 390.7 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.01424, allocations: 7.984 kB / 390.7 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01424, allocations: 0 / 390.7 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.01464, allocations: 0.5532 MB / 391.2 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.01466, allocations: 19.86 kB / 391.3 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.01469, allocations: 12 kB / 391.3 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.01479, allocations: 11.98 kB / 391.3 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.01487, allocations: 27.91 kB / 391.3 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.01489, allocations: 12 kB / 391.3 MB, free: 4.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.015, allocations: 197.1 kB / 391.5 MB, free: 4.664 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.015, allocations: 0 / 391.5 MB, free: 4.664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003456/0.01534, allocations: 159.4 kB / 391.7 MB, free: 4.508 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.0002358/0.01558, allocations: 159 kB / 391.8 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.01597, allocations: 477.8 kB / 392.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01597, allocations: 4.062 kB / 392.3 MB, free: 3.797 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.01617, allocations: 392 kB / 392.7 MB, free: 3.336 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.0165, allocations: 44.47 kB / 392.7 MB, free: 3.293 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.01768, allocations: 0.7576 MB / 393.5 MB, free: 2.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.145e-05/0.01777, allocations: 147.8 kB / 393.6 MB, free: 2.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.875e-05/0.01785, allocations: 49.78 kB / 393.7 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.01788, allocations: 16.5 kB / 393.7 MB, free: 2.262 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01789, allocations: 4 kB / 393.7 MB, free: 2.258 MB / 362.7 MB Notification: Performance of Templates: time 0.006845/0.02473, allocations: 5.554 MB / 399.2 MB, free: 12.8 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.3887486699968576]