Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.00105/0.00105, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001142/0.001142, allocations: 160.4 kB / 24.99 MB, free: 8.77 MB / 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 0.998/0.998, allocations: 177 MB / 205.2 MB, free: 5.598 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.285/0.285, allocations: 34.86 MB / 296.6 MB, free: 0.5586 MB / 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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 378.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.534e-05, allocations: 4.562 kB / 378.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002735/0.002761, allocations: 2.258 MB / 381 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.004224, allocations: 1.153 MB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.64e-05/0.00432, allocations: 0 / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.004561, allocations: 59.59 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.004758, allocations: 115.2 kB / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.00517, allocations: 207.2 kB / 382.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.005556, allocations: 0.5092 MB / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.005614, allocations: 25.27 kB / 383.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.005898, allocations: 235 kB / 383.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.006078, allocations: 171.4 kB / 383.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.006121, allocations: 12 kB / 383.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.006439, allocations: 147.8 kB / 383.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.006551, allocations: 99.48 kB / 383.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.006654, allocations: 127.5 kB / 383.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.007128, allocations: 0.4903 MB / 384.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.00713, allocations: 4 kB / 384.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007131, allocations: 0 / 384.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.00714, allocations: 0 / 384.4 MB, free: 12.73 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.0008003/0.007941, allocations: 0.7842 MB / 385.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.007978, allocations: 11.97 kB / 385.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.008251, allocations: 112.6 kB / 385.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.008517, allocations: 243.9 kB / 385.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.00854, allocations: 33.38 kB / 385.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.00858, allocations: 44.38 kB / 385.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.009087, allocations: 460.3 kB / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.009101, allocations: 3.938 kB / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.009129, allocations: 16 kB / 386.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.009165, allocations: 21 kB / 386.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.009418, allocations: 173.8 kB / 386.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.01074, allocations: 1.403 MB / 387.7 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.01107, allocations: 157.2 kB / 387.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.01121, allocations: 63.17 kB / 387.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.983e-05/0.01126, allocations: 15.88 kB / 387.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.01129, allocations: 37.33 kB / 387.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.555e-06/0.01129, allocations: 0 / 387.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006495/0.01194, allocations: 197.5 kB / 388.1 MB, free: 8.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.01202, allocations: 102.8 kB / 388.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.01224, allocations: 316.4 kB / 388.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.01227, allocations: 29.7 kB / 388.6 MB, free: 8.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.01239, allocations: 306.9 kB / 388.9 MB, free: 7.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.01244, allocations: 75.38 kB / 388.9 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.01254, allocations: 95.52 kB / 389 MB, free: 7.812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.01268, allocations: 0.5195 MB / 389.5 MB, free: 7.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.697e-05/0.01278, allocations: 40.25 kB / 389.6 MB, free: 7.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.01297, allocations: 212.2 kB / 389.8 MB, free: 6.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.01325, allocations: 292.5 kB / 390.1 MB, free: 6.602 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01326, allocations: 0 / 390.1 MB, free: 6.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003682/0.01363, allocations: 265.5 kB / 390.3 MB, free: 6.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.01364, allocations: 12.09 kB / 390.3 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.596e-05/0.01369, allocations: 43.92 kB / 390.4 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.01371, allocations: 8 kB / 390.4 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.01384, allocations: 27.97 kB / 390.4 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.01385, allocations: 11.94 kB / 390.4 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.01396, allocations: 39.77 kB / 390.5 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.01398, allocations: 23.94 kB / 390.5 MB, free: 6.172 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.0001163/0.0141, allocations: 188.5 kB / 390.7 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.01416, allocations: 23.86 kB / 390.7 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.01453, allocations: 273.9 kB / 391 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.01454, allocations: 4 kB / 391 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.01454, allocations: 0 / 391 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01455, allocations: 3.984 kB / 391 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.0149, allocations: 340.3 kB / 391.3 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-05/0.01494, allocations: 35.98 kB / 391.3 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.015, allocations: 15.98 kB / 391.4 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.015, allocations: 4 kB / 391.4 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.01502, allocations: 12 kB / 391.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01502, allocations: 0 / 391.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01502, allocations: 7.984 kB / 391.4 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.01538, allocations: 0.5493 MB / 391.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.01541, allocations: 19.86 kB / 392 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.01544, allocations: 4 kB / 392 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.01555, allocations: 15.98 kB / 392 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.01562, allocations: 27.91 kB / 392 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.01563, allocations: 12 kB / 392 MB, free: 4.586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.01574, allocations: 197.1 kB / 392.2 MB, free: 4.395 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01574, allocations: 0 / 392.2 MB, free: 4.395 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003918/0.01613, allocations: 155.4 kB / 392.4 MB, free: 4.242 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.0002402/0.01637, allocations: 162.9 kB / 392.5 MB, free: 4.074 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003954/0.01677, allocations: 482.1 kB / 393 MB, free: 3.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01677, allocations: 0 / 393 MB, free: 3.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.01698, allocations: 392 kB / 393.4 MB, free: 3.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.01734, allocations: 49.66 kB / 393.4 MB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.01862, allocations: 0.7582 MB / 394.2 MB, free: 2.223 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.97e-05/0.01871, allocations: 135.9 kB / 394.3 MB, free: 2.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.182e-05/0.01881, allocations: 49.78 kB / 394.4 MB, free: 2.016 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.01885, allocations: 20.48 kB / 394.4 MB, free: 1.992 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01885, allocations: 7.938 kB / 394.4 MB, free: 1.984 MB / 362.7 MB Notification: Performance of Templates: time 0.007509/0.02636, allocations: 5.545 MB / 399.9 MB, free: 12.54 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.421428374014795]