Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001132/0.001132, allocations: 67.77 kB / 21.69 MB, free: 2.859 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.001513/0.001513, allocations: 166.9 kB / 24.99 MB, free: 8.285 MB / 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.9843/0.9843, allocations: 177.1 MB / 205.3 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2826/0.2826, allocations: 32.8 MB / 294.6 MB, free: 1.305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.753e-05, allocations: 12.08 kB / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.005727/0.005745, allocations: 2.126 MB / 378.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004686/0.01043, allocations: 1.289 MB / 379.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.752e-05/0.01053, allocations: 4 kB / 379.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.01079, allocations: 55.61 kB / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.01096, allocations: 103.3 kB / 379.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.01147, allocations: 211 kB / 379.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.01189, allocations: 453.7 kB / 380.3 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.01195, allocations: 16.94 kB / 380.3 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.0122, allocations: 195.3 kB / 380.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.01237, allocations: 143.5 kB / 380.6 MB, free: 376 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.0124, allocations: 15.94 kB / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.0127, allocations: 203.7 kB / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.01279, allocations: 91.48 kB / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.01291, allocations: 103.7 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.01644, allocations: 490.1 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.01644, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.01645, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.01645, allocations: 4 kB / 381.5 MB, free: 15.48 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.001026/0.01748, allocations: 0.7413 MB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.01751, allocations: 15.97 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.01782, allocations: 104.6 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.0181, allocations: 228.9 kB / 382.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.01812, allocations: 25.38 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.01817, allocations: 48.11 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.01869, allocations: 384.2 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.0187, allocations: 0 / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.01874, allocations: 16 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.01877, allocations: 17 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.01903, allocations: 145.9 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/0.02328, allocations: 1.142 MB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.02352, allocations: 161.1 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.825e-05/0.02362, allocations: 55 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.02366, allocations: 7.984 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.02368, allocations: 41.39 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.02368, allocations: 0 / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004723/0.02415, allocations: 177.3 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.0242, allocations: 114.7 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.02441, allocations: 304.2 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.02444, allocations: 29.7 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.02457, allocations: 282.8 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.02462, allocations: 63.72 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.651e-05/0.02472, allocations: 75.36 kB / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.02485, allocations: 0.5118 MB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.336e-05/0.02494, allocations: 28.22 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.0251, allocations: 152.5 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003268/0.02837, allocations: 204 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02837, allocations: 4 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000369/0.02874, allocations: 205.5 kB / 386.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.02875, allocations: 18.05 kB / 386.7 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.837e-05/0.0288, allocations: 28 kB / 386.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.02882, allocations: 4 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.02893, allocations: 27.91 kB / 386.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.02893, allocations: 7.938 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.02904, allocations: 23.94 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.02907, allocations: 16 kB / 386.8 MB, free: 9.746 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.0001213/0.02919, allocations: 184.9 kB / 387 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.02928, allocations: 27.86 kB / 387 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.02969, allocations: 223.3 kB / 387.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.02969, allocations: 11.92 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.0297, allocations: 3.938 kB / 387.3 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.0297, allocations: 0 / 387.3 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.03011, allocations: 312.5 kB / 387.6 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.914e-05/0.03015, allocations: 24 kB / 387.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.125e-05/0.03022, allocations: 31.97 kB / 387.6 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.03022, allocations: 4 kB / 387.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.03024, allocations: 8 kB / 387.6 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.03024, allocations: 0 / 387.6 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.03024, allocations: 0 / 387.6 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.03062, allocations: 0.5401 MB / 388.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.03065, allocations: 23.8 kB / 388.2 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.03068, allocations: 0 / 388.2 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.03084, allocations: 15.98 kB / 388.2 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.03091, allocations: 23.91 kB / 388.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.03093, allocations: 16 kB / 388.3 MB, free: 8.246 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003114/0.03405, allocations: 197.1 kB / 388.5 MB, free: 8.059 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03405, allocations: 0 / 388.5 MB, free: 8.059 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004791/0.03453, allocations: 143.5 kB / 388.6 MB, free: 7.918 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.0002685/0.0348, allocations: 171 kB / 388.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006205/0.03542, allocations: 370.8 kB / 389.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.03542, allocations: 3.938 kB / 389.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.03562, allocations: 303.6 kB / 389.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.03608, allocations: 40.61 kB / 389.5 MB, free: 6.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.03732, allocations: 0.6587 MB / 390.1 MB, free: 6.223 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.03743, allocations: 131.7 kB / 390.3 MB, free: 6.074 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.812e-05/0.03752, allocations: 33.44 kB / 390.3 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.03755, allocations: 16.5 kB / 390.3 MB, free: 6.023 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03755, allocations: 0 / 390.3 MB, free: 6.023 MB / 362.7 MB Notification: Performance of Templates: time 0.006527/0.04408, allocations: 5.229 MB / 395.5 MB, free: 0.8867 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.338435634970665]