Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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.0009154/0.0009154, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009084/0.0009084, allocations: 169 kB / 24.25 MB, free: 308 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.005/1.005, allocations: 158.6 MB / 186 MB, free: 2.461 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.1334/0.1334, allocations: 32.38 MB / 270.7 MB, free: 14.74 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.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|dimlesslength|abscissa.[0-9,]+.|length|Pr.[0-9,]+.|Re.[0-9,]+.|velocity.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|m_flow.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|dimlesslength|abscissa.[0-9,]+.|length|Pr.[0-9,]+.|Re.[0-9,]+.|velocity.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|m_flow.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 4 kB / 347.7 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.583e-05, allocations: 2.312 kB / 347.7 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002226/0.002252, allocations: 1.985 MB / 349.7 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.003652, allocations: 1.142 MB / 350.8 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.003776, allocations: 0 / 350.8 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.004077, allocations: 71.53 kB / 350.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.004362, allocations: 107.3 kB / 351 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.004838, allocations: 167.3 kB / 351.2 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.005216, allocations: 497.5 kB / 351.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.441e-05/0.00529, allocations: 17.23 kB / 351.7 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.005481, allocations: 211.2 kB / 351.9 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.005654, allocations: 167.4 kB / 352 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.005683, allocations: 16 kB / 352.1 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.005959, allocations: 135.7 kB / 352.2 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.006056, allocations: 107.5 kB / 352.3 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.006169, allocations: 115.5 kB / 352.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004457/0.006614, allocations: 498 kB / 352.9 MB, free: 4.504 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.006617, allocations: 0 / 352.9 MB, free: 4.504 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.006618, allocations: 0 / 352.9 MB, free: 4.504 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.006626, allocations: 0 / 352.9 MB, free: 4.504 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0007055/0.007331, allocations: 0.7768 MB / 353.7 MB, free: 3.691 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.007386, allocations: 16.03 kB / 353.7 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.007486, allocations: 92.59 kB / 353.8 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.007727, allocations: 223.9 kB / 354 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.007752, allocations: 37.69 kB / 354 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.007802, allocations: 48.38 kB / 354.1 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.008197, allocations: 370.9 kB / 354.4 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.00821, allocations: 3.938 kB / 354.4 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.008239, allocations: 23.98 kB / 354.5 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.271e-05/0.008282, allocations: 33.3 kB / 354.5 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.008552, allocations: 211.8 kB / 354.7 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.009922, allocations: 1.13 MB / 355.8 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.01031, allocations: 191.3 kB / 356 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.01041, allocations: 51.73 kB / 356.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.01045, allocations: 7.984 kB / 356.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.01047, allocations: 45.33 kB / 356.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.595e-06/0.01048, allocations: 0 / 356.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004784/0.01096, allocations: 243.5 kB / 356.4 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.01098, allocations: 55.41 kB / 356.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.01113, allocations: 262.6 kB / 356.7 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.01115, allocations: 33.7 kB / 356.7 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.01123, allocations: 302.8 kB / 357 MB, free: 220 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.01127, allocations: 87.23 kB / 357.1 MB, free: 132 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.382e-05/0.01137, allocations: 103.6 kB / 357.2 MB, free: 16 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.01153, allocations: 0.508 MB / 357.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.01165, allocations: 48.3 kB / 357.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.01184, allocations: 192.4 kB / 357.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/0.0123, allocations: 323.9 kB / 358.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.0123, allocations: 8 kB / 358.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004224/0.01272, allocations: 277.9 kB / 358.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.01275, allocations: 14.28 kB / 358.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.223e-05/0.0128, allocations: 51.92 kB / 358.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.01282, allocations: 4.406 kB / 358.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01293, allocations: 39.92 kB / 358.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.01294, allocations: 4 kB / 358.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.655e-05/0.01304, allocations: 27.83 kB / 358.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.01306, allocations: 24 kB / 358.7 MB, free: 14.38 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = \"m\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.00019/0.01325, allocations: 196.6 kB / 358.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.0133, allocations: 31.84 kB / 358.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.01381, allocations: 327.7 kB / 359.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.01382, allocations: 8 kB / 359.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.01382, allocations: 0 / 359.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.01383, allocations: 3.984 kB / 359.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.01419, allocations: 352.3 kB / 359.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.074e-05/0.01423, allocations: 39.98 kB / 359.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.785e-05/0.01431, allocations: 31.92 kB / 359.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01432, allocations: 0 / 359.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.01434, allocations: 19.94 kB / 359.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.01434, allocations: 4 kB / 359.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01435, allocations: 0 / 359.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.01494, allocations: 424.4 kB / 360.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.01497, allocations: 27.86 kB / 360.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.015, allocations: 7.938 kB / 360.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.01507, allocations: 8 kB / 360.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.01512, allocations: 23.97 kB / 360.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.01514, allocations: 19.98 kB / 360.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.087e-05/0.01522, allocations: 167.4 kB / 360.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01522, allocations: 3.938 kB / 360.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003788/0.0156, allocations: 179.4 kB / 360.5 MB, free: 12.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * 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.0002731/0.01587, allocations: 171 kB / 360.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004649/0.01633, allocations: 0.4928 MB / 361.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01634, allocations: 4.062 kB / 361.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.01658, allocations: 413 kB / 361.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.01684, allocations: 37.19 kB / 361.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.01825, allocations: 0.8372 MB / 362.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.707e-05/0.01835, allocations: 156.5 kB / 362.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.01847, allocations: 62.2 kB / 362.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.01852, allocations: 20.5 kB / 362.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of SimCode: time 1.443e-06/0.01852, allocations: 0 / 362.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of Templates: time 0.008008/0.02653, allocations: 5.527 MB / 368.2 MB, free: 4.633 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.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.351764277089387]