Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009877/0.0009875, allocations: 96.28 kB / 15.69 MB, free: 476 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001033, allocations: 174.1 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.4 MB / 222.7 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.425/0.425, allocations: 43.55 MB / 314.5 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000536/0.000536, allocations: 16 kB / 383.9 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1304, allocations: 58.85 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002159/0.1326, allocations: 1.615 MB / 444.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1338, allocations: 0.7572 MB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.1339, allocations: 3.938 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.1342, allocations: 55.72 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1345, allocations: 83.72 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.1347, allocations: 55.92 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.135, allocations: 191.5 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.828e-05/0.135, allocations: 36.38 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1352, allocations: 95.5 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.1354, allocations: 107.5 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.1354, allocations: 8 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.1357, allocations: 119.9 kB / 445.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.1357, allocations: 63.8 kB / 446 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.1358, allocations: 69.52 kB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.1361, allocations: 207.8 kB / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1361, allocations: 0 / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1361, allocations: 3.938 kB / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1362, allocations: 0 / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000832/0.137, allocations: 0.5262 MB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.137, allocations: 12.03 kB / 446.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/0.1371, allocations: 31.58 kB / 446.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.1374, allocations: 235.2 kB / 447 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.1374, allocations: 24.55 kB / 447.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.1375, allocations: 23.94 kB / 447.1 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.1381, allocations: 393.2 kB / 447.5 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1382, allocations: 4 kB / 447.5 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.1382, allocations: 19.97 kB / 447.5 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-05/0.1383, allocations: 24.64 kB / 447.5 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007379/0.139, allocations: 418.2 kB / 447.9 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.1405, allocations: 0.8891 MB / 448.8 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.1412, allocations: 310.2 kB / 449.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.1412, allocations: 8.062 kB / 449.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.1413, allocations: 30.56 kB / 449.1 MB, free: 6.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.1413, allocations: 0 / 449.1 MB, free: 6.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008349/0.1421, allocations: 365.1 kB / 449.5 MB, free: 6.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.1422, allocations: 55.41 kB / 449.6 MB, free: 6.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.1425, allocations: 351.1 kB / 449.9 MB, free: 5.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1426, allocations: 29.7 kB / 449.9 MB, free: 5.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1427, allocations: 156.6 kB / 450.1 MB, free: 5.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.1428, allocations: 59.2 kB / 450.1 MB, free: 5.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.1428, allocations: 4 kB / 450.1 MB, free: 5.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1429, allocations: 342.8 kB / 450.5 MB, free: 5.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.1431, allocations: 104.3 kB / 450.6 MB, free: 5.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.1434, allocations: 150.7 kB / 450.7 MB, free: 4.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.1436, allocations: 123.8 kB / 450.8 MB, free: 4.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1436, allocations: 0 / 450.8 MB, free: 4.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005552/0.1442, allocations: 324.8 kB / 451.2 MB, free: 4.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1442, allocations: 4 kB / 451.2 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1442, allocations: 4 kB / 451.2 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.1442, allocations: 4 kB / 451.2 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/0.1448, allocations: 119.8 kB / 451.3 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.1468, allocations: 3.704 MB / 455 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.147, allocations: 35.62 kB / 455 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.1471, allocations: 11.98 kB / 455 MB, free: 392 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.1473, allocations: 177.9 kB / 455.2 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.1473, allocations: 23.72 kB / 455.2 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2375/0.3849, allocations: 356.5 kB / 455.6 MB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3849, allocations: 10.22 kB / 455.6 MB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.385, allocations: 3.031 kB / 455.6 MB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.385, allocations: 0 / 455.6 MB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.3855, allocations: 311.5 kB / 455.9 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.3855, allocations: 0 / 455.9 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/0.3861, allocations: 108.8 kB / 456 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.3861, allocations: 0 / 456 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.3861, allocations: 5.469 kB / 456 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.3875, allocations: 3.706 MB / 459.7 MB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3875, allocations: 2.156 kB / 459.7 MB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.388, allocations: 379.9 kB / 460.1 MB, free: 43.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.595e-05/0.3881, allocations: 102.8 kB / 460.2 MB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.3881, allocations: 6.828 kB / 460.2 MB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.3883, allocations: 12.75 kB / 460.2 MB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.3884, allocations: 22.75 kB / 460.2 MB, free: 43.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3884, allocations: 5.984 kB / 460.2 MB, free: 43.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002514/0.3887, allocations: 252.8 kB / 460.5 MB, free: 43 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3887, allocations: 2.688 kB / 460.5 MB, free: 43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003916/0.3891, allocations: 78.91 kB / 460.6 MB, free: 43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002199/0.3893, allocations: 120.4 kB / 460.7 MB, free: 42.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008663/0.3902, allocations: 329.4 kB / 461 MB, free: 42.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3902, allocations: 0 / 461 MB, free: 42.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.3907, allocations: 207.9 kB / 461.2 MB, free: 42.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.3911, allocations: 53.88 kB / 461.3 MB, free: 42.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009303/0.392, allocations: 0.6556 MB / 461.9 MB, free: 42.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.3923, allocations: 0.8145 MB / 462.7 MB, free: 41.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.3924, allocations: 64.91 kB / 462.8 MB, free: 41.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.3925, allocations: 25.56 kB / 462.8 MB, free: 41.94 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3925, allocations: 0 / 462.8 MB, free: 41.94 MB / 382.1 MB Notification: Performance of Templates: time 0.007901/0.4004, allocations: 4.752 MB / 467.6 MB, free: 41.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches