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.0007906/0.0007906, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.0009146/0.0009146, allocations: 170.8 kB / 25.61 MB, free: 8.855 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.9253/0.9253, allocations: 177.1 MB / 206 MB, free: 4.492 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.1426/0.1426, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.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.182e-06/1.182e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.688e-05, allocations: 3.406 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.005196/0.005213, allocations: 1.86 MB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.006312, allocations: 0.989 MB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.55e-05/0.006388, allocations: 0 / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.006587, allocations: 43.69 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.006795, allocations: 71.53 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.007081, allocations: 131.5 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.007281, allocations: 227 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.007321, allocations: 5.812 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.007484, allocations: 107.7 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.0076, allocations: 99.67 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.007621, allocations: 8 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.01081, allocations: 103.8 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.01087, allocations: 59.83 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.01092, allocations: 55.78 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.01118, allocations: 247.1 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01118, allocations: 0 / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01118, allocations: 0 / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.01118, allocations: 0 / 383.3 MB, free: 19.37 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.0005267/0.01171, allocations: 0.5348 MB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.01174, allocations: 8.031 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.01201, allocations: 56.77 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.01219, allocations: 173.2 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.0122, allocations: 8.609 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.01223, allocations: 12.36 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.01247, allocations: 183.3 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.01248, allocations: 192 / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.0125, allocations: 8.375 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.01253, allocations: 12.17 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.01263, allocations: 56.58 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.01318, allocations: 0.7908 MB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.01328, allocations: 113.2 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.01333, allocations: 39.05 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.01335, allocations: 7.938 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.01337, allocations: 41.33 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.01337, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.003284/0.01666, allocations: 117.8 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.01668, allocations: 110.8 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.01678, allocations: 243.9 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.01679, allocations: 29.7 kB / 385.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.01684, allocations: 182.9 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.01686, allocations: 39.67 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.01692, allocations: 47.3 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.01697, allocations: 0.5079 MB / 386.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.068e-05/0.01701, allocations: 8 kB / 386.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.968e-05/0.01707, allocations: 74.03 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.01718, allocations: 110.3 kB / 386.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01719, allocations: 0 / 386.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001894/0.01737, allocations: 125.4 kB / 386.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.01739, allocations: 4 kB / 386.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.0174, allocations: 8 kB / 386.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.01741, allocations: 4 kB / 386.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.01754, allocations: 36.06 kB / 387 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.01754, allocations: 4 kB / 387 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.366e-05/0.01763, allocations: 15.98 kB / 387 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.01765, allocations: 4 kB / 387 MB, free: 15.36 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 5.644e-05/0.01771, allocations: 164.6 kB / 387.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.01777, allocations: 31.78 kB / 387.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.01796, allocations: 115 kB / 387.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.01797, allocations: 4 kB / 387.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01797, allocations: 0 / 387.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01797, allocations: 4 kB / 387.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.01823, allocations: 157.1 kB / 387.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.01824, allocations: 15.98 kB / 387.5 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.01834, allocations: 19.98 kB / 387.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01834, allocations: 0 / 387.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.01835, allocations: 15.94 kB / 387.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.01835, allocations: 3.984 kB / 387.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01836, allocations: 0 / 387.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.01856, allocations: 494 kB / 388 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.01859, allocations: 19.89 kB / 388 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.01861, allocations: 11.94 kB / 388 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.01877, allocations: 8 kB / 388 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.01882, allocations: 15.97 kB / 388 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.01883, allocations: 4 kB / 388 MB, free: 14.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.046e-05/0.01888, allocations: 164 kB / 388.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01888, allocations: 4 kB / 388.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.01926, allocations: 71.77 kB / 388.3 MB, free: 14 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.00316/0.02242, allocations: 155 kB / 388.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.02261, allocations: 156.5 kB / 388.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02261, allocations: 320 / 388.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.02268, allocations: 124.7 kB / 388.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.02312, allocations: 27.97 kB / 388.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.02391, allocations: 417.1 kB / 389.1 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.416e-05/0.02396, allocations: 91.17 kB / 389.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.499e-05/0.024, allocations: 12.64 kB / 389.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.0241, allocations: 114.2 kB / 389.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of SimCode: time 4.2e-07/0.0241, allocations: 0 / 389.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of Templates: time 0.004004/0.02811, allocations: 3.413 MB / 392.8 MB, free: 9.449 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 -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: 3.062766347080469]