Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.001006/0.001006, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001622/0.001622, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.013/1.013, allocations: 177 MB / 204.8 MB, free: 5.25 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.2629/0.2629, allocations: 34.86 MB / 296.3 MB, free: 500 kB / 266.7 MB " [Timeout remaining time 180] 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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.122e-05, allocations: 4.562 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003061/0.003092, allocations: 2.308 MB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.005521, allocations: 2.099 MB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.005656, allocations: 4 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.005956, allocations: 75.41 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.006484, allocations: 119.2 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.007575, allocations: 462 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004833/0.008059, allocations: 0.544 MB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.821e-05/0.008127, allocations: 25.22 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.008451, allocations: 239.2 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.008644, allocations: 175.4 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.008677, allocations: 16 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005626/0.00924, allocations: 411.1 kB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.009395, allocations: 107.5 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.009511, allocations: 127.4 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007546/0.01027, allocations: 0.7434 MB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.01027, allocations: 0 / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01027, allocations: 0 / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.01028, allocations: 0 / 386.2 MB, free: 10.59 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.0009104/0.01119, allocations: 0.8854 MB / 387.1 MB, free: 9.668 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.01123, allocations: 8.031 kB / 387.1 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002711/0.0115, allocations: 132.5 kB / 387.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.0118, allocations: 251.8 kB / 387.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.01183, allocations: 41.69 kB / 387.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.01188, allocations: 52.38 kB / 387.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005962/0.01247, allocations: 0.5166 MB / 388.1 MB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.01249, allocations: 7.875 kB / 388.1 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.01252, allocations: 20 kB / 388.1 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/0.01257, allocations: 29.3 kB / 388.2 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.01288, allocations: 211.7 kB / 388.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.01426, allocations: 1.552 MB / 389.9 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.01449, allocations: 161.2 kB / 390.1 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.01459, allocations: 59.03 kB / 390.1 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.01462, allocations: 11.94 kB / 390.1 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.01465, allocations: 49.33 kB / 390.2 MB, free: 6.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.01465, allocations: 0 / 390.2 MB, free: 6.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004394/0.01509, allocations: 213.4 kB / 390.4 MB, free: 6.207 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003369/0.01542, allocations: 106.8 kB / 390.5 MB, free: 6.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.01569, allocations: 422.3 kB / 390.9 MB, free: 5.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.01571, allocations: 33.7 kB / 390.9 MB, free: 5.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.01587, allocations: 382.2 kB / 391.3 MB, free: 5.227 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.01592, allocations: 71.44 kB / 391.4 MB, free: 5.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.01605, allocations: 139.7 kB / 391.5 MB, free: 5.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.01619, allocations: 0.5274 MB / 392.1 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.01631, allocations: 56.91 kB / 392.1 MB, free: 4.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.01658, allocations: 447.8 kB / 392.5 MB, free: 3.801 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.01701, allocations: 0.5473 MB / 393.1 MB, free: 3.078 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.01701, allocations: 8 kB / 393.1 MB, free: 3.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005354/0.01755, allocations: 432.8 kB / 393.5 MB, free: 2.641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.01757, allocations: 12.97 kB / 393.5 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-05/0.01762, allocations: 47.98 kB / 393.6 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.01764, allocations: 12 kB / 393.6 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.01779, allocations: 67.84 kB / 393.7 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.0178, allocations: 23.86 kB / 393.7 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.01797, allocations: 71.55 kB / 393.8 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.018, allocations: 32 kB / 393.8 MB, free: 2.379 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.0001396/0.01814, allocations: 212.4 kB / 394 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.01821, allocations: 31.81 kB / 394 MB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.0186, allocations: 294.2 kB / 394.3 MB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.01861, allocations: 7.984 kB / 394.3 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01861, allocations: 0 / 394.3 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01862, allocations: 3.938 kB / 394.3 MB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.01898, allocations: 364.4 kB / 394.7 MB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.136e-05/0.01902, allocations: 43.98 kB / 394.7 MB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.01909, allocations: 19.97 kB / 394.7 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01909, allocations: 4 kB / 394.7 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.01911, allocations: 12 kB / 394.8 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.01911, allocations: 4 kB / 394.8 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01911, allocations: 0 / 394.8 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.01948, allocations: 0.5571 MB / 395.3 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.01951, allocations: 31.8 kB / 395.4 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.01953, allocations: 4 kB / 395.4 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.01964, allocations: 11.94 kB / 395.4 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.01971, allocations: 31.84 kB / 395.4 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.01973, allocations: 19.98 kB / 395.4 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.01985, allocations: 235 kB / 395.6 MB, free: 460 kB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01985, allocations: 0 / 395.6 MB, free: 460 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005069/0.02036, allocations: 215.3 kB / 395.9 MB, free: 244 kB / 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.0003324/0.02069, allocations: 246.7 kB / 396.1 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005009/0.02119, allocations: 0.5472 MB / 396.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.02119, allocations: 0 / 396.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.02139, allocations: 396 kB / 397 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.02175, allocations: 53.75 kB / 397.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.02337, allocations: 0.8457 MB / 397.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.02348, allocations: 148.5 kB / 398.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.02362, allocations: 90.73 kB / 398.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.02367, allocations: 24.48 kB / 398.2 MB, free: 13.67 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02367, allocations: 4 kB / 398.2 MB, free: 13.67 MB / 378.7 MB Notification: Performance of Templates: time 0.009337/0.03301, allocations: 7.59 MB / 405.8 MB, free: 6.195 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.464107475243509]