Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009873/0.0009873, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.000996/0.000996, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.026/1.026, allocations: 177.1 MB / 205 MB, free: 5.629 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.2439/0.2439, allocations: 34.26 MB / 295.7 MB, free: 0.7383 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.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_4.1.0_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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.418e-05, allocations: 6.25 kB / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002401/0.002425, allocations: 1.996 MB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.003828, allocations: 1.129 MB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.629e-05/0.003924, allocations: 4 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.004192, allocations: 67.53 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.004439, allocations: 115.3 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.00492, allocations: 167.3 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000454/0.005374, allocations: 493.5 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.35e-05/0.005438, allocations: 17.23 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.005635, allocations: 211.2 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.005834, allocations: 171.4 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.005862, allocations: 12 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.006113, allocations: 135.8 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.006221, allocations: 107.4 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.006335, allocations: 119.5 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004962/0.006831, allocations: 0.4902 MB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.006833, allocations: 0 / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.006834, allocations: 0 / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.006841, allocations: 0 / 383.3 MB, free: 13.36 MB / 362.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.0007573/0.007598, allocations: 0.7729 MB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.007634, allocations: 8.031 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.007748, allocations: 100.6 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.008029, allocations: 225.9 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.008059, allocations: 37.69 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.194e-05/0.008121, allocations: 48.38 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.008576, allocations: 363 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.008589, allocations: 3.938 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.008621, allocations: 20 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/0.008675, allocations: 37.23 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.008974, allocations: 211.8 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.01042, allocations: 1.126 MB / 386.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.01084, allocations: 194.3 kB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.01094, allocations: 51.72 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.01098, allocations: 8 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.01101, allocations: 45.33 kB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/0.01101, allocations: 0 / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004595/0.01147, allocations: 234.7 kB / 386.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.0115, allocations: 55.34 kB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.01168, allocations: 273.7 kB / 387.1 MB, free: 9.426 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.01171, allocations: 29.7 kB / 387.1 MB, free: 9.391 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.01185, allocations: 306.7 kB / 387.4 MB, free: 9.086 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.01192, allocations: 95.28 kB / 387.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.01203, allocations: 99.62 kB / 387.6 MB, free: 8.883 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.01218, allocations: 0.5118 MB / 388.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.01231, allocations: 44.3 kB / 388.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.0125, allocations: 188.5 kB / 388.3 MB, free: 8.074 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.01292, allocations: 326.4 kB / 388.6 MB, free: 7.699 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.01293, allocations: 0 / 388.6 MB, free: 7.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004035/0.01333, allocations: 289.9 kB / 388.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.01335, allocations: 11.94 kB / 388.9 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.883e-05/0.0134, allocations: 39.98 kB / 389 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.01342, allocations: 8 kB / 389 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01352, allocations: 40.31 kB / 389 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01353, allocations: 8 kB / 389 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.01364, allocations: 27.84 kB / 389 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.01367, allocations: 23.98 kB / 389.1 MB, free: 7.254 MB / 362.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.0001931/0.01386, allocations: 188.3 kB / 389.3 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.01391, allocations: 27.84 kB / 389.3 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004973/0.01441, allocations: 339.5 kB / 389.6 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.01441, allocations: 4 kB / 389.6 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.01442, allocations: 3.984 kB / 389.6 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01443, allocations: 4 kB / 389.6 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.01478, allocations: 352.4 kB / 390 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-05/0.01482, allocations: 39.98 kB / 390 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.572e-05/0.01491, allocations: 35.92 kB / 390 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01491, allocations: 0 / 390 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.01493, allocations: 19.92 kB / 390.1 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01494, allocations: 0 / 390.1 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01494, allocations: 0 / 390.1 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.01545, allocations: 429.3 kB / 390.5 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.01547, allocations: 15.84 kB / 390.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.0155, allocations: 15.97 kB / 390.5 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.01557, allocations: 7.984 kB / 390.5 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.01561, allocations: 27.91 kB / 390.5 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.01563, allocations: 12 kB / 390.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.459e-05/0.01572, allocations: 184.2 kB / 390.7 MB, free: 5.516 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01572, allocations: 0 / 390.7 MB, free: 5.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003847/0.0161, allocations: 175.4 kB / 390.9 MB, free: 5.344 MB / 362.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.0002527/0.01635, allocations: 167 kB / 391.1 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004367/0.01679, allocations: 0.4933 MB / 391.6 MB, free: 4.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.01679, allocations: 4 kB / 391.6 MB, free: 4.594 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.01702, allocations: 412.1 kB / 392 MB, free: 4.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.01726, allocations: 31.98 kB / 392 MB, free: 4.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.01859, allocations: 0.8377 MB / 392.8 MB, free: 3.211 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.278e-05/0.01868, allocations: 152.5 kB / 393 MB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.01879, allocations: 58.22 kB / 393 MB, free: 2.984 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.01884, allocations: 24.48 kB / 393.1 MB, free: 2.961 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01884, allocations: 0 / 393.1 MB, free: 2.961 MB / 362.7 MB Notification: Performance of Templates: time 0.007096/0.02594, allocations: 5.519 MB / 398.6 MB, free: 13.54 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.373284564819187]