Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009081/0.0009081, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001661/0.001661, allocations: 169.9 kB / 24.91 MB, free: 9.184 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 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2694/0.2694, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.937e-05, allocations: 3.078 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002486/0.002505, allocations: 1.931 MB / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.003758, allocations: 0.9975 MB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.003825, allocations: 0 / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.004031, allocations: 47.69 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.004245, allocations: 75.53 kB / 328.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.004532, allocations: 127.4 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.004776, allocations: 219.5 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.004819, allocations: 10.47 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.005015, allocations: 119.6 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.005136, allocations: 83.7 kB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.005158, allocations: 12 kB / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.005351, allocations: 111.8 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.005412, allocations: 55.81 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.005462, allocations: 55.78 kB / 329.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.005726, allocations: 239.1 kB / 329.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.005729, allocations: 4 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00573, allocations: 0 / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.005734, allocations: 0 / 329.4 MB, free: 3.531 MB / 298.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.0005236/0.006258, allocations: 421.2 kB / 329.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.006291, allocations: 8.031 kB / 329.8 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.006484, allocations: 52.89 kB / 329.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.006633, allocations: 158.5 kB / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.006643, allocations: 8.609 kB / 330 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.006658, allocations: 12.38 kB / 330 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.006883, allocations: 178.8 kB / 330.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.006891, allocations: 192 / 330.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.006905, allocations: 4.375 kB / 330.2 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.006933, allocations: 20.16 kB / 330.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-05/0.007024, allocations: 63.44 kB / 330.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.00755, allocations: 0.5643 MB / 330.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.007663, allocations: 130.5 kB / 331 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.007701, allocations: 26.56 kB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.007727, allocations: 7.938 kB / 331 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.007754, allocations: 46.62 kB / 331.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.007755, allocations: 0 / 331.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002134/0.007968, allocations: 89.58 kB / 331.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.008012, allocations: 110.8 kB / 331.3 MB, free: 1.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.752e-05/0.00811, allocations: 175.3 kB / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.008124, allocations: 33.7 kB / 331.5 MB, free: 1.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.008177, allocations: 124.2 kB / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.008201, allocations: 43.58 kB / 331.6 MB, free: 1.082 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.008254, allocations: 33.69 kB / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.008334, allocations: 330.8 kB / 332 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.425e-05/0.008368, allocations: 14.83 kB / 332 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.00842, allocations: 56.22 kB / 332 MB, free: 0.625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.779e-05/0.008518, allocations: 99.38 kB / 332.1 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00852, allocations: 0 / 332.1 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001365/0.008657, allocations: 109.2 kB / 332.2 MB, free: 396 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.008668, allocations: 4 kB / 332.3 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.008682, allocations: 8.141 kB / 332.3 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.008693, allocations: 8 kB / 332.3 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.008801, allocations: 39.91 kB / 332.3 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.008804, allocations: 0 / 332.3 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.00887, allocations: 23.88 kB / 332.3 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.008882, allocations: 4 kB / 332.3 MB, free: 308 kB / 298.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 6.874e-05/0.008951, allocations: 120.6 kB / 332.5 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.008996, allocations: 19.92 kB / 332.5 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.009127, allocations: 99.12 kB / 332.6 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.009131, allocations: 8 kB / 332.6 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.009134, allocations: 7.984 kB / 332.6 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.009138, allocations: 3.984 kB / 332.6 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.00932, allocations: 109.8 kB / 332.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.00933, allocations: 4 kB / 332.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.469e-05/0.009394, allocations: 31.91 kB / 332.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.009396, allocations: 0 / 332.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.009405, allocations: 4 kB / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.009407, allocations: 3.938 kB / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.009408, allocations: 3.938 kB / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.00958, allocations: 376.7 kB / 333.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.009599, allocations: 19.83 kB / 333.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.009615, allocations: 4 kB / 333.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.009716, allocations: 15.94 kB / 333.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.009763, allocations: 15.97 kB / 333.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.009771, allocations: 0 / 333.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.161e-05/0.009813, allocations: 53.64 kB / 333.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009813, allocations: 0 / 333.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.01006, allocations: 71.77 kB / 333.3 MB, free: 15.29 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.0001652/0.01022, allocations: 136.3 kB / 333.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.01039, allocations: 138.1 kB / 333.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.01039, allocations: 4.062 kB / 333.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.65e-05/0.01047, allocations: 117.9 kB / 333.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.01074, allocations: 31.92 kB / 333.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006813/0.01143, allocations: 418.1 kB / 334.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.199e-05/0.01148, allocations: 79.31 kB / 334.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.621e-05/0.01152, allocations: 12.66 kB / 334.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.01164, allocations: 95.28 kB / 334.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01164, allocations: 0 / 334.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of Templates: time 0.004383/0.01602, allocations: 3.195 MB / 337.5 MB, free: 11.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9085330571979284]