Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.000928/0.000928, 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.0008909/0.0008909, 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 0.906/0.906, allocations: 177.1 MB / 205 MB, free: 5.605 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.2482/0.2482, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.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_4.1.0_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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.411e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002397/0.002411, allocations: 2.126 MB / 380.2 MB, free: 496 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.003923, allocations: 1.308 MB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.004012, allocations: 4 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.004276, allocations: 63.61 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.004425, allocations: 99.31 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008313/0.005257, allocations: 211.1 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.005637, allocations: 449.7 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.005687, allocations: 16.92 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.005927, allocations: 199.2 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.006067, allocations: 147.5 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.006095, allocations: 12 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.006366, allocations: 203.7 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.006445, allocations: 91.55 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.341e-05/0.006528, allocations: 103.6 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.006962, allocations: 490.2 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.006964, allocations: 3.938 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006965, allocations: 0 / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.00697, allocations: 0 / 383.5 MB, free: 13.12 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.0006802/0.00765, allocations: 0.7375 MB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.007687, allocations: 12.03 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.00793, allocations: 104.6 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.008176, allocations: 236.8 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.008196, allocations: 25.38 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.00823, allocations: 40.12 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.008673, allocations: 384.2 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.008686, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.008711, allocations: 16 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-05/0.008744, allocations: 20.94 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.008947, allocations: 141.9 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.009998, allocations: 1.15 MB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.01021, allocations: 157.1 kB / 386.5 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.01028, allocations: 58.5 kB / 386.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.01032, allocations: 7.984 kB / 386.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.01034, allocations: 37.39 kB / 386.6 MB, free: 9.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.01034, allocations: 0 / 386.6 MB, free: 9.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003753/0.01071, allocations: 177.8 kB / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.01075, allocations: 110.8 kB / 386.9 MB, free: 9.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.01092, allocations: 308.2 kB / 387.2 MB, free: 9.191 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.01094, allocations: 29.7 kB / 387.3 MB, free: 9.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.01105, allocations: 278.8 kB / 387.5 MB, free: 8.879 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.01109, allocations: 63.47 kB / 387.6 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.01116, allocations: 75.34 kB / 387.7 MB, free: 8.734 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.01126, allocations: 0.5079 MB / 388.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.01134, allocations: 32.22 kB / 388.2 MB, free: 8.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.01146, allocations: 156.6 kB / 388.4 MB, free: 7.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.01167, allocations: 196 kB / 388.6 MB, free: 7.734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01167, allocations: 4 kB / 388.6 MB, free: 7.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002799/0.01195, allocations: 213.2 kB / 388.8 MB, free: 7.516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.01196, allocations: 8 kB / 388.8 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/0.012, allocations: 35.98 kB / 388.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.01202, allocations: 4 kB / 388.8 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.01212, allocations: 27.91 kB / 388.8 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003461/0.01246, allocations: 7.938 kB / 388.8 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.374e-05/0.01256, allocations: 24.3 kB / 388.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.01258, allocations: 19.98 kB / 388.9 MB, free: 7.391 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.0001174/0.01269, allocations: 180.9 kB / 389.1 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.01275, allocations: 27.86 kB / 389.1 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.0131, allocations: 234.6 kB / 389.3 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.0131, allocations: 4 kB / 389.3 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.01311, allocations: 7.938 kB / 389.3 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01311, allocations: 0 / 389.3 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.01341, allocations: 304.5 kB / 389.6 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.147e-05/0.01344, allocations: 31.98 kB / 389.7 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.0135, allocations: 15.98 kB / 389.7 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.0135, allocations: 4 kB / 389.7 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.01352, allocations: 15.92 kB / 389.7 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01352, allocations: 4 kB / 389.7 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01352, allocations: 0 / 389.7 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.01384, allocations: 0.537 MB / 390.2 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.01386, allocations: 27.8 kB / 390.3 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01388, allocations: 0 / 390.3 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.01399, allocations: 15.98 kB / 390.3 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.01405, allocations: 19.92 kB / 390.3 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.01407, allocations: 11.98 kB / 390.3 MB, free: 5.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.968e-05/0.01416, allocations: 193.1 kB / 390.5 MB, free: 5.711 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01416, allocations: 0 / 390.5 MB, free: 5.711 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000353/0.01451, allocations: 147.5 kB / 390.6 MB, free: 5.566 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.0002295/0.01474, allocations: 175 kB / 390.8 MB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003288/0.01507, allocations: 371.1 kB / 391.2 MB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01507, allocations: 0 / 391.2 MB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.01523, allocations: 306.9 kB / 391.5 MB, free: 4.605 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.01555, allocations: 36.47 kB / 391.5 MB, free: 4.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.01658, allocations: 0.6603 MB / 392.2 MB, free: 3.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.463e-05/0.01668, allocations: 131.7 kB / 392.3 MB, free: 3.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.05e-05/0.01675, allocations: 33.41 kB / 392.3 MB, free: 3.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.01679, allocations: 20.48 kB / 392.4 MB, free: 3.664 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01679, allocations: 0 / 392.4 MB, free: 3.664 MB / 362.7 MB Notification: Performance of Templates: time 0.007565/0.02435, allocations: 6.008 MB / 398.4 MB, free: 13.75 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.0293801790103316]