Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 161 kB / 24.99 MB, free: 8.805 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.051/1.051, allocations: 177 MB / 205.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2763/0.2763, allocations: 34.86 MB / 296.6 MB, free: 0.5703 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|m_flow.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|m_flow.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/2.971e-05, allocations: 10.25 kB / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002754/0.002784, allocations: 2.12 MB / 380.9 MB, free: 264 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.004874, allocations: 1.297 MB / 382.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.004998, allocations: 4 kB / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.005298, allocations: 59.61 kB / 382.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.00546, allocations: 99.25 kB / 382.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.006108, allocations: 215.1 kB / 382.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.006504, allocations: 453.7 kB / 383 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.769e-05/0.006562, allocations: 16.94 kB / 383 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.006837, allocations: 203.2 kB / 383.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.006999, allocations: 147.5 kB / 383.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.007024, allocations: 12 kB / 383.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003069/0.007331, allocations: 199.7 kB / 383.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.042e-05/0.007421, allocations: 87.55 kB / 383.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.36e-05/0.007515, allocations: 107.6 kB / 383.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004894/0.008004, allocations: 486.1 kB / 384.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.008008, allocations: 0 / 384.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008009, allocations: 0 / 384.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.008017, allocations: 4 kB / 384.2 MB, free: 12.9 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0007649/0.008782, allocations: 0.7531 MB / 385 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.008818, allocations: 8.031 kB / 385 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002712/0.009089, allocations: 100.6 kB / 385.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.009344, allocations: 224.9 kB / 385.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.009367, allocations: 33.36 kB / 385.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.009401, allocations: 40.12 kB / 385.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.009839, allocations: 384.1 kB / 385.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.00985, allocations: 0 / 385.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.009876, allocations: 16 kB / 385.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.009908, allocations: 17 kB / 385.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.01013, allocations: 145.9 kB / 385.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.01122, allocations: 1.15 MB / 387.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.01143, allocations: 149.2 kB / 387.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.214e-05/0.01151, allocations: 55.05 kB / 387.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.01155, allocations: 11.98 kB / 387.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.01157, allocations: 37.39 kB / 387.3 MB, free: 9.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.01157, allocations: 0 / 387.3 MB, free: 9.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003894/0.01196, allocations: 181.5 kB / 387.5 MB, free: 9.426 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.01201, allocations: 106.8 kB / 387.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.01219, allocations: 304.2 kB / 387.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.01221, allocations: 25.7 kB / 387.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.01232, allocations: 282.8 kB / 388.2 MB, free: 8.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.01236, allocations: 63.73 kB / 388.3 MB, free: 8.605 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/0.01244, allocations: 79.34 kB / 388.4 MB, free: 8.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003899/0.01283, allocations: 0.5079 MB / 388.9 MB, free: 8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/0.01291, allocations: 32.22 kB / 388.9 MB, free: 7.965 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.01304, allocations: 152.5 kB / 389.1 MB, free: 7.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.01326, allocations: 206.3 kB / 389.3 MB, free: 7.516 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01326, allocations: 4 kB / 389.3 MB, free: 7.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002895/0.01355, allocations: 209.2 kB / 389.5 MB, free: 7.301 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.01357, allocations: 11 kB / 389.5 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.785e-05/0.0136, allocations: 43.97 kB / 389.5 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.01362, allocations: 4 kB / 389.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.01372, allocations: 27.91 kB / 389.5 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/0.01373, allocations: 7.938 kB / 389.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.01381, allocations: 19.95 kB / 389.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.01383, allocations: 15.98 kB / 389.6 MB, free: 7.176 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.000114/0.01395, allocations: 181 kB / 389.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.014, allocations: 27.86 kB / 389.8 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.01435, allocations: 229.5 kB / 390 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.01435, allocations: 4 kB / 390 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01436, allocations: 3.938 kB / 390 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01436, allocations: 0 / 390 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.01467, allocations: 304.5 kB / 390.3 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/0.0147, allocations: 31.98 kB / 390.4 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.01476, allocations: 19.98 kB / 390.4 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01476, allocations: 4 kB / 390.4 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.01478, allocations: 15.98 kB / 390.4 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01478, allocations: 0 / 390.4 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01478, allocations: 0 / 390.4 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.01511, allocations: 0.5293 MB / 390.9 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.01513, allocations: 27.73 kB / 390.9 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.01516, allocations: 4 kB / 391 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.01526, allocations: 11.98 kB / 391 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.01533, allocations: 23.92 kB / 391 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.01534, allocations: 15.98 kB / 391 MB, free: 5.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.091e-05/0.01543, allocations: 193.1 kB / 391.2 MB, free: 5.504 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01543, allocations: 0 / 391.2 MB, free: 5.504 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003802/0.01581, allocations: 151.5 kB / 391.3 MB, free: 5.355 MB / 362.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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002762/0.01609, allocations: 179 kB / 391.5 MB, free: 5.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.01643, allocations: 366.7 kB / 391.9 MB, free: 4.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.01643, allocations: 4 kB / 391.9 MB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.0166, allocations: 303.6 kB / 392.2 MB, free: 4.395 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.01695, allocations: 42.03 kB / 392.2 MB, free: 4.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.01808, allocations: 0.652 MB / 392.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.335e-05/0.01817, allocations: 139.7 kB / 393 MB, free: 3.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.47e-05/0.01825, allocations: 33.44 kB / 393 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.01829, allocations: 20.48 kB / 393.1 MB, free: 3.449 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01829, allocations: 0 / 393.1 MB, free: 3.449 MB / 362.7 MB Notification: Performance of Templates: time 0.008456/0.02674, allocations: 5.227 MB / 398.3 MB, free: 14.32 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.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.489012591075152]