Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001446/0.001446, allocations: 77 kB / 20.65 MB, free: 3.844 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.001715/0.001715, allocations: 177 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1353/0.1353, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 348.1 MB, free: 9.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.362e-05/4.663e-05, allocations: 8.219 kB / 348.2 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002431/0.002478, allocations: 1.859 MB / 350 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003632, allocations: 0.9666 MB / 351 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-05/0.003715, allocations: 0 / 351 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.003966, allocations: 35.77 kB / 351 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.004215, allocations: 71.53 kB / 351.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.004531, allocations: 123.4 kB / 351.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.004726, allocations: 223.1 kB / 351.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.004769, allocations: 9.812 kB / 351.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.004935, allocations: 107.7 kB / 351.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.005044, allocations: 95.69 kB / 351.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.005065, allocations: 8 kB / 351.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.00524, allocations: 95.8 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.154e-05/0.005302, allocations: 51.83 kB / 351.8 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.005346, allocations: 59.78 kB / 351.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.005585, allocations: 227.1 kB / 352.1 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.005588, allocations: 4 kB / 352.1 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005589, allocations: 0 / 352.1 MB, free: 5.203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.005593, allocations: 4 kB / 352.1 MB, free: 5.199 MB / 282.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.0005426/0.006136, allocations: 0.5348 MB / 352.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.006179, allocations: 12.03 kB / 352.6 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.00623, allocations: 28.8 kB / 352.6 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.006362, allocations: 164.2 kB / 352.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.006373, allocations: 8.609 kB / 352.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.006388, allocations: 8.375 kB / 352.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.006613, allocations: 191.8 kB / 353 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.006623, allocations: 4.188 kB / 353 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.006635, allocations: 4.375 kB / 353 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.006664, allocations: 20.16 kB / 353 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.969e-05/0.006743, allocations: 50 kB / 353.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.007273, allocations: 0.7905 MB / 353.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.9e-05/0.007372, allocations: 113.2 kB / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.007408, allocations: 39.05 kB / 354 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.007435, allocations: 7.938 kB / 354 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.007452, allocations: 41.39 kB / 354.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.522e-06/0.007454, allocations: 0 / 354.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000231/0.007685, allocations: 117.8 kB / 354.2 MB, free: 2.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.007708, allocations: 110.8 kB / 354.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/0.007805, allocations: 246.5 kB / 354.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.007817, allocations: 33.64 kB / 354.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.007871, allocations: 179 kB / 354.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.00789, allocations: 43.62 kB / 354.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.007936, allocations: 43.34 kB / 354.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.007993, allocations: 0.5042 MB / 355.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/0.008028, allocations: 12 kB / 355.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.821e-05/0.008077, allocations: 76.19 kB / 355.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.38e-05/0.00817, allocations: 102 kB / 355.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008173, allocations: 0 / 355.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001467/0.008319, allocations: 125.5 kB / 355.6 MB, free: 1.305 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.008332, allocations: 8 kB / 355.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.008349, allocations: 12 kB / 355.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.008362, allocations: 0 / 355.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.008471, allocations: 35.91 kB / 355.7 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.008474, allocations: 0 / 355.7 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.008541, allocations: 27.88 kB / 355.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.008553, allocations: 4 kB / 355.7 MB, free: 1.219 MB / 282.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.703e-05/0.00861, allocations: 164.6 kB / 355.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.008653, allocations: 31.84 kB / 355.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.008807, allocations: 115.1 kB / 356 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.00881, allocations: 0 / 356 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.008812, allocations: 4 kB / 356 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.008815, allocations: 0 / 356 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.008996, allocations: 145.2 kB / 356.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.009008, allocations: 19.92 kB / 356.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.184e-05/0.009079, allocations: 19.98 kB / 356.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.009082, allocations: 0 / 356.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.009093, allocations: 11.94 kB / 356.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.009096, allocations: 7.984 kB / 356.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.009098, allocations: 4 kB / 356.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.009278, allocations: 486.1 kB / 356.7 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.009297, allocations: 11.89 kB / 356.7 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.009316, allocations: 15.91 kB / 356.7 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.009418, allocations: 8 kB / 356.8 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.009466, allocations: 15.97 kB / 356.8 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.009474, allocations: 4 kB / 356.8 MB, free: 116 kB / 282.7 MB Notification: Performance of sorting global known variables: time 7.532e-05/0.009549, allocations: 168 kB / 356.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.009549, allocations: 0 / 356.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.009851, allocations: 75.77 kB / 357 MB, free: 15.88 MB / 298.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.00022/0.01007, allocations: 147.1 kB / 357.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.01025, allocations: 156.6 kB / 357.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01026, allocations: 0 / 357.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.965e-05/0.01034, allocations: 120.7 kB / 357.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.01067, allocations: 35.91 kB / 357.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007795/0.01145, allocations: 415.4 kB / 357.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.205e-05/0.01151, allocations: 91.25 kB / 358 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.575e-05/0.01156, allocations: 12.64 kB / 358 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.01168, allocations: 114.2 kB / 358.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01168, allocations: 0 / 358.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of Templates: time 0.005554/0.01724, allocations: 3.36 MB / 361.4 MB, free: 11.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2224414539523423]