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.001676/0.001676, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 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.002097/0.002097, allocations: 215.2 kB / 23 MB, free: 5.574 MB / 14.72 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.491/1.491, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] 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.2868/0.2868, allocations: 46.91 MB / 359.4 MB, free: 4.832 MB / 286.1 MB " [Timeout remaining time 179] 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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|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 0.002271/0.002271, allocations: 87.84 kB / 0.4947 GB, free: 8.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3739, allocations: 65.98 MB / 0.5591 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003754/0.3776, allocations: 2.117 MB / 0.5612 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.38, allocations: 1.34 MB / 0.5625 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3801, allocations: 7.938 kB / 0.5625 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.3804, allocations: 71.59 kB / 0.5626 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.3807, allocations: 91.38 kB / 0.5626 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006721/0.3814, allocations: 218 kB / 0.5628 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000515/0.3819, allocations: 422.1 kB / 0.5633 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.349e-05/0.382, allocations: 12.75 kB / 0.5633 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.3822, allocations: 155.2 kB / 0.5634 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.3825, allocations: 175 kB / 0.5636 GB, free: 428 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.3825, allocations: 12 kB / 0.5636 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.383, allocations: 275.6 kB / 0.5639 GB, free: 140 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.3831, allocations: 83.55 kB / 0.5639 GB, free: 56 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.3833, allocations: 167 kB / 0.5641 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007147/0.384, allocations: 0.5274 MB / 0.5646 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.384, allocations: 0 / 0.5646 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.384, allocations: 3.938 kB / 0.5646 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.384, allocations: 0 / 0.5646 GB, free: 15.36 MB / 414.1 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.001259/0.3852, allocations: 0.7323 MB / 0.5653 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3853, allocations: 8.031 kB / 0.5653 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004063/0.3857, allocations: 76.62 kB / 0.5654 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.3861, allocations: 300.5 kB / 0.5657 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.3861, allocations: 25 kB / 0.5657 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.3862, allocations: 36 kB / 0.5658 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.3873, allocations: 0.5574 MB / 0.5663 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3873, allocations: 4 kB / 0.5663 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.3873, allocations: 12 kB / 0.5663 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.3874, allocations: 20.98 kB / 0.5663 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000811/0.3882, allocations: 411.6 kB / 0.5667 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.3901, allocations: 1.289 MB / 0.568 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005609/0.3906, allocations: 271.6 kB / 0.5682 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.391, allocations: 134.5 kB / 0.5684 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.973e-05/0.391, allocations: 4 kB / 0.5684 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.3911, allocations: 42.55 kB / 0.5684 GB, free: 11.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.3911, allocations: 0 / 0.5684 GB, free: 11.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001249/0.3923, allocations: 467.8 kB / 0.5689 GB, free: 10.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.3924, allocations: 107.1 kB / 0.569 GB, free: 10.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/0.393, allocations: 0.5018 MB / 0.5695 GB, free: 10.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.393, allocations: 25.7 kB / 0.5695 GB, free: 10.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.3932, allocations: 216.4 kB / 0.5697 GB, free: 9.902 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.228e-05/0.3933, allocations: 63.42 kB / 0.5697 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3934, allocations: 65.69 kB / 0.5698 GB, free: 9.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3936, allocations: 350.8 kB / 0.5701 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.3939, allocations: 140 kB / 0.5703 GB, free: 9.277 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.3943, allocations: 206.6 kB / 0.5705 GB, free: 9.039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000789/0.3951, allocations: 361.9 kB / 0.5708 GB, free: 8.648 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3951, allocations: 0 / 0.5708 GB, free: 8.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008963/0.396, allocations: 424.8 kB / 0.5712 GB, free: 8.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.396, allocations: 12.28 kB / 0.5712 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.651e-05/0.3961, allocations: 36 kB / 0.5713 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.3961, allocations: 4 kB / 0.5713 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.3963, allocations: 35.89 kB / 0.5713 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3963, allocations: 4 kB / 0.5713 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.3966, allocations: 51.66 kB / 0.5714 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.3967, allocations: 23.98 kB / 0.5714 GB, free: 8.062 MB / 414.1 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.0002497/0.3969, allocations: 201.7 kB / 0.5716 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.397, allocations: 43.66 kB / 0.5716 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008656/0.3979, allocations: 395.3 kB / 0.572 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.3979, allocations: 4 kB / 0.572 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3979, allocations: 0 / 0.572 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.3979, allocations: 11.98 kB / 0.572 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006727/0.3986, allocations: 365.3 kB / 0.5724 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-05/0.3986, allocations: 32 kB / 0.5724 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.3988, allocations: 27.91 kB / 0.5724 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.3988, allocations: 7.922 kB / 0.5724 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.3988, allocations: 12 kB / 0.5724 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3988, allocations: 0 / 0.5724 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3988, allocations: 4 kB / 0.5724 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009125/0.3998, allocations: 0.5777 MB / 0.573 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.3999, allocations: 124.8 kB / 0.5731 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.4, allocations: 0 / 0.5731 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.4003, allocations: 27.97 kB / 0.5731 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.4003, allocations: 19.92 kB / 0.5732 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.4004, allocations: 8 kB / 0.5732 GB, free: 6.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004217/0.4008, allocations: 367 kB / 0.5735 GB, free: 5.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4008, allocations: 0 / 0.5735 GB, free: 5.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005868/0.4014, allocations: 127.7 kB / 0.5736 GB, free: 5.641 MB / 414.1 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.0003554/0.4017, allocations: 175 kB / 0.5738 GB, free: 5.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009511/0.4027, allocations: 0.5378 MB / 0.5743 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4027, allocations: 0 / 0.5743 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.4032, allocations: 375.9 kB / 0.5747 GB, free: 4.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006749/0.4039, allocations: 106.6 kB / 0.5748 GB, free: 4.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.4054, allocations: 0.7939 MB / 0.5756 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/0.406, allocations: 0.8497 MB / 0.5764 GB, free: 2.645 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.4062, allocations: 63.23 kB / 0.5765 GB, free: 2.578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.4063, allocations: 27.44 kB / 0.5765 GB, free: 2.555 MB / 414.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4063, allocations: 0 / 0.5765 GB, free: 2.555 MB / 414.1 MB Notification: Performance of Templates: time 0.01529/0.4216, allocations: 7.704 MB / 0.584 GB, free: 10.94 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 480] 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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.618503212928772]