Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.001148/0.001148, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001174/0.001174, allocations: 162.3 kB / 25.61 MB, free: 8.598 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.948/0.948, allocations: 177.1 MB / 206.1 MB, free: 4.492 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.1504/0.1504, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.275e-05, allocations: 5.688 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.005521/0.005544, allocations: 1.868 MB / 379.2 MB, free: 23.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.006768, allocations: 0.9889 MB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.006876, allocations: 0 / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.007113, allocations: 39.81 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.007357, allocations: 75.53 kB / 380.3 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.01094, allocations: 135.3 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.0112, allocations: 211.1 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.01125, allocations: 13.8 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.01149, allocations: 115.6 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.01164, allocations: 95.75 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.01166, allocations: 12 kB / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.01189, allocations: 107.7 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.01196, allocations: 55.77 kB / 381 MB, free: 21.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.01203, allocations: 55.83 kB / 381 MB, free: 21.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.01239, allocations: 243.1 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.0124, allocations: 0 / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.0124, allocations: 0 / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.01241, allocations: 0 / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006502/0.01306, allocations: 0.5348 MB / 381.8 MB, free: 21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.0131, allocations: 11.98 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/0.01644, allocations: 56.77 kB / 381.9 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.01664, allocations: 173.2 kB / 382.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.01665, allocations: 8.609 kB / 382.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.01667, allocations: 8.375 kB / 382.1 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.01693, allocations: 187.3 kB / 382.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.01694, allocations: 192 / 382.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.01696, allocations: 8.375 kB / 382.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/0.01699, allocations: 24.09 kB / 382.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.66e-05/0.01708, allocations: 40.66 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.0177, allocations: 0.7908 MB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.01782, allocations: 117.1 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.01786, allocations: 39.06 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.01789, allocations: 11.92 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.01791, allocations: 33.39 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.01791, allocations: 4 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003123/0.01823, allocations: 117.6 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.01826, allocations: 106.8 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.01836, allocations: 232.9 kB / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.01838, allocations: 33.7 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.01844, allocations: 186.9 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.01846, allocations: 35.69 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.01851, allocations: 55.23 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.01856, allocations: 0.5001 MB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-05/0.0186, allocations: 12.23 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.398e-05/0.01865, allocations: 86.02 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.01875, allocations: 98.05 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01875, allocations: 0 / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001608/0.01892, allocations: 129.6 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.01893, allocations: 12.16 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.01895, allocations: 4 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.01896, allocations: 4 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.01907, allocations: 35.91 kB / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.01907, allocations: 0 / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.961e-05/0.01914, allocations: 15.98 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.01915, allocations: 8 kB / 385 MB, free: 17.56 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002724/0.02188, allocations: 168.6 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.02195, allocations: 23.84 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.02217, allocations: 130.9 kB / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.02217, allocations: 0 / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.02217, allocations: 0 / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.02218, allocations: 4 kB / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.02239, allocations: 149.2 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.0224, allocations: 11.98 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.02251, allocations: 27.91 kB / 385.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.02251, allocations: 0 / 385.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.02252, allocations: 11.94 kB / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.02253, allocations: 0 / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.02253, allocations: 4 kB / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.02271, allocations: 486.2 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.02274, allocations: 11.91 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.02276, allocations: 7.938 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.02291, allocations: 15.92 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.02295, allocations: 19.91 kB / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.02296, allocations: 4 kB / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.537e-05/0.02301, allocations: 172.2 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02301, allocations: 0 / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003095/0.02332, allocations: 75.77 kB / 386.3 MB, free: 16.2 MB / 314.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001775/0.02349, allocations: 159 kB / 386.4 MB, free: 16.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.02366, allocations: 148.6 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02366, allocations: 0 / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.749e-05/0.02372, allocations: 120.7 kB / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.02406, allocations: 31.98 kB / 386.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006842/0.02474, allocations: 413.5 kB / 387.1 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.02478, allocations: 87.17 kB / 387.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.566e-05/0.02483, allocations: 12.66 kB / 387.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.02493, allocations: 118.2 kB / 387.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02493, allocations: 0 / 387.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Templates: time 0.006015/0.03095, allocations: 3.416 MB / 390.7 MB, free: 11.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/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.324207826051861]