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.004397/0.004397, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001253/0.001253, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 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.029/1.029, allocations: 177 MB / 204.8 MB, free: 5.578 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.2677/0.2677, allocations: 34.86 MB / 296.3 MB, free: 492 kB / 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 4.428e-06/4.428e-06, allocations: 4 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.443e-05, allocations: 4.281 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003857/0.003892, allocations: 2.122 MB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.006461, allocations: 1.301 MB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.006608, allocations: 4 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.007005, allocations: 63.55 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.007272, allocations: 99.31 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008269/0.008099, allocations: 211.1 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005587/0.008657, allocations: 457.7 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.008747, allocations: 16.92 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.009182, allocations: 191.3 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.009419, allocations: 151.5 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.00946, allocations: 12 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.009923, allocations: 203.7 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.01005, allocations: 91.48 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.01018, allocations: 99.64 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007849/0.01097, allocations: 494.1 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01097, allocations: 0 / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01097, allocations: 0 / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.01099, allocations: 0 / 384.3 MB, free: 12.55 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.00109/0.01208, allocations: 0.7453 MB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.01213, allocations: 8.031 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003997/0.01253, allocations: 100.6 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.0129, allocations: 236.8 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.01293, allocations: 29.38 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.998e-05/0.01299, allocations: 48.05 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006863/0.01368, allocations: 384.2 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.0137, allocations: 3.938 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.01373, allocations: 16 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-05/0.01379, allocations: 17 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.01413, allocations: 141.9 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.01577, allocations: 1.146 MB / 387.1 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.01607, allocations: 153.2 kB / 387.3 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.0162, allocations: 51.05 kB / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/0.01625, allocations: 11.98 kB / 387.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.01629, allocations: 41.39 kB / 387.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.425e-06/0.01629, allocations: 0 / 387.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005996/0.01689, allocations: 179.6 kB / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.01694, allocations: 106.8 kB / 387.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.01714, allocations: 304.2 kB / 387.9 MB, free: 8.629 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.01716, allocations: 29.7 kB / 388 MB, free: 8.594 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.01729, allocations: 282.9 kB / 388.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.01733, allocations: 67.41 kB / 388.3 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.01741, allocations: 71.59 kB / 388.4 MB, free: 8.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.01755, allocations: 0.5196 MB / 388.9 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/0.01762, allocations: 24.22 kB / 388.9 MB, free: 7.609 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.01777, allocations: 150 kB / 389.1 MB, free: 7.414 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.01799, allocations: 206.3 kB / 389.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01799, allocations: 4 kB / 389.3 MB, free: 7.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002953/0.01829, allocations: 209.2 kB / 389.5 MB, free: 6.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.0183, allocations: 8 kB / 389.5 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/0.01834, allocations: 32.33 kB / 389.5 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.01836, allocations: 8 kB / 389.5 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.01849, allocations: 31.91 kB / 389.6 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.01849, allocations: 7.938 kB / 389.6 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.091e-05/0.01858, allocations: 19.94 kB / 389.6 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.0186, allocations: 20 kB / 389.6 MB, free: 6.824 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.0001221/0.01872, allocations: 177 kB / 389.8 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.01878, allocations: 23.86 kB / 389.8 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.01912, allocations: 231.2 kB / 390 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.01912, allocations: 4 kB / 390 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01913, allocations: 7.875 kB / 390 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01913, allocations: 7.984 kB / 390.1 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.01945, allocations: 300.5 kB / 390.3 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-05/0.01949, allocations: 31.97 kB / 390.4 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.01955, allocations: 23.98 kB / 390.4 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01955, allocations: 0 / 390.4 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.01957, allocations: 15.98 kB / 390.4 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01957, allocations: 0 / 390.4 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01958, allocations: 0 / 390.4 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.01992, allocations: 0.5332 MB / 391 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.01994, allocations: 23.8 kB / 391 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.01996, allocations: 0 / 391 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.02007, allocations: 15.98 kB / 391 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.02014, allocations: 23.92 kB / 391 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.02016, allocations: 15.98 kB / 391 MB, free: 5.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.465e-05/0.02025, allocations: 189.1 kB / 391.2 MB, free: 5.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02025, allocations: 8 kB / 391.2 MB, free: 5.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004469/0.0207, allocations: 143.5 kB / 391.4 MB, free: 5.004 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.0003212/0.02102, allocations: 174.9 kB / 391.5 MB, free: 4.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.02139, allocations: 371 kB / 391.9 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.02139, allocations: 0 / 391.9 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.02157, allocations: 302.9 kB / 392.2 MB, free: 4.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.02193, allocations: 41.3 kB / 392.2 MB, free: 4.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.02315, allocations: 0.6597 MB / 392.9 MB, free: 3.305 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.472e-05/0.02325, allocations: 131.7 kB / 393 MB, free: 3.156 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.287e-05/0.02332, allocations: 29.45 kB / 393 MB, free: 3.125 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.02337, allocations: 20.48 kB / 393.1 MB, free: 3.105 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02337, allocations: 0 / 393.1 MB, free: 3.105 MB / 362.7 MB Notification: Performance of Templates: time 0.007346/0.03071, allocations: 5.238 MB / 398.3 MB, free: 13.97 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.531797151081264]