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_overall.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.00116/0.00116, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001057/0.001057, allocations: 168.5 kB / 24.99 MB, free: 8.289 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 0.9648/0.9648, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2825/0.2825, allocations: 32.81 MB / 294.6 MB, free: 1.297 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_overall,tolerance=1e-05,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_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,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_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.888e-05, allocations: 9.625 kB / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002514/0.002533, allocations: 2.305 MB / 378.3 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.004804, allocations: 2.083 MB / 380.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.004925, allocations: 4 kB / 380.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.005179, allocations: 79.47 kB / 380.5 MB, free: 480 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.005394, allocations: 119.2 kB / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.006178, allocations: 450 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.006635, allocations: 0.5362 MB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.354e-05/0.006698, allocations: 25.22 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.006976, allocations: 247.1 kB / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.007162, allocations: 179.4 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.007191, allocations: 16 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004693/0.007661, allocations: 403.2 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.007766, allocations: 111.5 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.007873, allocations: 127.4 kB / 382.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006689/0.008542, allocations: 0.7434 MB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.008545, allocations: 0 / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.008546, allocations: 0 / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.008551, allocations: 7.938 kB / 383.4 MB, free: 13.53 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0008382/0.00939, allocations: 0.8737 MB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.009427, allocations: 12.02 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.009684, allocations: 132.5 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.009959, allocations: 247.8 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.009987, allocations: 41.69 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.01003, allocations: 52.38 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.01061, allocations: 0.5205 MB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.01063, allocations: 3.938 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.01066, allocations: 27.97 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.0107, allocations: 29.3 kB / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.01099, allocations: 211.7 kB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.01233, allocations: 1.552 MB / 387.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.01256, allocations: 161.2 kB / 387.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.452e-05/0.01265, allocations: 63.05 kB / 387.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.01269, allocations: 15.92 kB / 387.4 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.01272, allocations: 41.39 kB / 387.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.01272, allocations: 3.938 kB / 387.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004588/0.01318, allocations: 215.3 kB / 387.6 MB, free: 9.145 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.01323, allocations: 106.8 kB / 387.7 MB, free: 9.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.01349, allocations: 422 kB / 388.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.01351, allocations: 29.7 kB / 388.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.01368, allocations: 382.2 kB / 388.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.01372, allocations: 71.69 kB / 388.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.01384, allocations: 147.7 kB / 388.7 MB, free: 7.941 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.01397, allocations: 0.5157 MB / 389.3 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.01408, allocations: 60.95 kB / 389.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.01435, allocations: 447.8 kB / 389.8 MB, free: 6.742 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.01477, allocations: 0.5473 MB / 390.3 MB, free: 6.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.01478, allocations: 0 / 390.3 MB, free: 6.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004973/0.01527, allocations: 437.1 kB / 390.7 MB, free: 5.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.01529, allocations: 12 kB / 390.7 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.632e-05/0.01534, allocations: 47.98 kB / 390.8 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.01536, allocations: 12 kB / 390.8 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.0155, allocations: 64.47 kB / 390.9 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.01551, allocations: 23.86 kB / 390.9 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.01567, allocations: 75.55 kB / 391 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.0157, allocations: 32 kB / 391 MB, free: 5.324 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * 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.0001302/0.01583, allocations: 216.3 kB / 391.2 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.01589, allocations: 31.81 kB / 391.2 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/0.01629, allocations: 291.6 kB / 391.5 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.0163, allocations: 7.984 kB / 391.5 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.0163, allocations: 0 / 391.5 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01631, allocations: 3.938 kB / 391.5 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.01666, allocations: 368.4 kB / 391.9 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-05/0.01669, allocations: 43.98 kB / 391.9 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.01675, allocations: 23.91 kB / 392 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01675, allocations: 0 / 392 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.01677, allocations: 12 kB / 392 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01677, allocations: 4 kB / 392 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01678, allocations: 4 kB / 392 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.01714, allocations: 0.558 MB / 392.5 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.01717, allocations: 27.8 kB / 392.6 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.0172, allocations: 7.938 kB / 392.6 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.01731, allocations: 11.94 kB / 392.6 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.01738, allocations: 31.84 kB / 392.6 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.0174, allocations: 19.98 kB / 392.6 MB, free: 3.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.01752, allocations: 231 kB / 392.9 MB, free: 3.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01752, allocations: 0 / 392.9 MB, free: 3.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004748/0.01799, allocations: 215.3 kB / 393.1 MB, free: 3.18 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.0003268/0.01832, allocations: 246.9 kB / 393.3 MB, free: 2.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004411/0.01876, allocations: 0.5459 MB / 393.9 MB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01876, allocations: 8.062 kB / 393.9 MB, free: 2.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.01897, allocations: 388 kB / 394.2 MB, free: 1.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.01934, allocations: 56.55 kB / 394.3 MB, free: 1.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.02057, allocations: 0.8342 MB / 395.1 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.02067, allocations: 156.5 kB / 395.3 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.0208, allocations: 82.8 kB / 395.4 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.02084, allocations: 28.42 kB / 395.4 MB, free: 0.625 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02084, allocations: 4 kB / 395.4 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of Templates: time 0.009027/0.02987, allocations: 7.612 MB / 403 MB, free: 9.125 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.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.3494665229227394]