Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001722/0.001722, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001957/0.001958, allocations: 202 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 75.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.333, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003077/0.3361, allocations: 2.163 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.3386, allocations: 1.835 MB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.3387, allocations: 2.75 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.339, allocations: 77.39 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.3394, allocations: 158.8 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007715/0.3401, allocations: 337 kB / 0.535 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004868/0.3406, allocations: 482.6 kB / 0.5355 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.65e-05/0.3407, allocations: 63.36 kB / 0.5355 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.341, allocations: 193.2 kB / 0.5357 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.3413, allocations: 218.6 kB / 0.5359 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.3414, allocations: 16.59 kB / 0.5359 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008741/0.3422, allocations: 0.5627 MB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3424, allocations: 121.6 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.3426, allocations: 185.4 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009909/0.3436, allocations: 0.7385 MB / 0.5375 GB, free: 8.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3436, allocations: 0 / 0.5375 GB, free: 8.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3436, allocations: 1.156 kB / 0.5375 GB, free: 8.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.3436, allocations: 4 kB / 0.5375 GB, free: 8.32 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001287/0.3449, allocations: 0.7869 MB / 0.5383 GB, free: 7.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.345, allocations: 9.531 kB / 0.5383 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.3451, allocations: 105 kB / 0.5384 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.3452, allocations: 56.28 kB / 0.5384 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.3457, allocations: 309.8 kB / 0.5387 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.3457, allocations: 40.36 kB / 0.5388 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.3458, allocations: 47.28 kB / 0.5388 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.3469, allocations: 0.709 MB / 0.5395 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3469, allocations: 0 / 0.5395 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/0.347, allocations: 24.47 kB / 0.5395 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.454e-05/0.3471, allocations: 53.91 kB / 0.5396 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.3483, allocations: 0.748 MB / 0.5403 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.3505, allocations: 1.443 MB / 0.5417 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000806/0.3514, allocations: 456.6 kB / 0.5421 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.3517, allocations: 160.3 kB / 0.5423 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.3517, allocations: 8.469 kB / 0.5423 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.3518, allocations: 41.14 kB / 0.5423 GB, free: 5.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.764e-06/0.3518, allocations: 0 / 0.5423 GB, free: 5.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001158/0.3529, allocations: 0.5372 MB / 0.5429 GB, free: 4.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.353, allocations: 54.78 kB / 0.5429 GB, free: 4.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.3536, allocations: 0.5307 MB / 0.5434 GB, free: 4.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.3536, allocations: 29.7 kB / 0.5435 GB, free: 4.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.3538, allocations: 244.5 kB / 0.5437 GB, free: 4.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.52e-05/0.3539, allocations: 111 kB / 0.5438 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.354, allocations: 98.05 kB / 0.5439 GB, free: 3.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3542, allocations: 358.8 kB / 0.5442 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.3545, allocations: 160.6 kB / 0.5444 GB, free: 3.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.3549, allocations: 301.5 kB / 0.5447 GB, free: 2.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.3556, allocations: 0.4928 MB / 0.5452 GB, free: 2.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3557, allocations: 0 / 0.5452 GB, free: 2.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008942/0.3566, allocations: 0.5321 MB / 0.5457 GB, free: 1.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3566, allocations: 14.12 kB / 0.5457 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3566, allocations: 11.98 kB / 0.5457 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3566, allocations: 8 kB / 0.5457 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009702/0.3576, allocations: 215.8 kB / 0.5459 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/0.3613, allocations: 7.314 MB / 0.5531 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.3616, allocations: 63.5 kB / 0.5531 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.3617, allocations: 23.98 kB / 0.5531 GB, free: 9.984 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000294/0.362, allocations: 233.5 kB / 0.5534 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.3621, allocations: 43.91 kB / 0.5534 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.3631, allocations: 0.5447 MB / 0.5539 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3631, allocations: 7.938 kB / 0.554 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3631, allocations: 3.984 kB / 0.554 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3632, allocations: 0 / 0.554 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.3637, allocations: 433.2 kB / 0.5544 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3637, allocations: 0 / 0.5544 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008662/0.3646, allocations: 199.8 kB / 0.5546 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.3646, allocations: 4 kB / 0.5546 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.3646, allocations: 19.92 kB / 0.5546 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003553/0.3682, allocations: 7.306 MB / 0.5617 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3682, allocations: 0 / 0.5617 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008409/0.369, allocations: 0.5078 MB / 0.5622 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.3692, allocations: 132.7 kB / 0.5623 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.3693, allocations: 4 kB / 0.5623 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.3695, allocations: 11.98 kB / 0.5624 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.3696, allocations: 28.06 kB / 0.5624 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.3696, allocations: 19.98 kB / 0.5624 GB, free: 124 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004875/0.3701, allocations: 379 kB / 0.5628 GB, free: 15.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3701, allocations: 3.938 kB / 0.5628 GB, free: 15.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006588/0.3708, allocations: 183.6 kB / 0.5629 GB, free: 15.57 MB / 430.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001377/0.3722, allocations: 1.164 MB / 0.5641 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.3737, allocations: 0.5555 MB / 0.5646 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3737, allocations: 0 / 0.5646 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.3747, allocations: 347.6 kB / 0.565 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.3752, allocations: 85.86 kB / 0.565 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00673/0.382, allocations: 5.3 MB / 0.5702 GB, free: 7.902 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.3825, allocations: 0.8897 MB / 0.5711 GB, free: 6.984 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003434/0.3828, allocations: 144.2 kB / 0.5712 GB, free: 6.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.383, allocations: 143.4 kB / 0.5714 GB, free: 6.699 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.383, allocations: 0 / 0.5714 GB, free: 6.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.4176, allocations: 14.91 MB / 0.5859 GB, free: 8.043 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.46, allocations: 18.86 kB / 0.5859 GB, free: 8.027 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches