Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 71.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3011, 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): time 0.003219/0.3044, allocations: 2.223 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.3073, allocations: 2.154 MB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3074, allocations: 1.375 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.3077, allocations: 77.33 kB / 0.5349 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.3079, allocations: 111.5 kB / 0.535 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.309, allocations: 443.6 kB / 0.5354 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.3095, allocations: 0.5091 MB / 0.5359 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.92e-05/0.3096, allocations: 61.42 kB / 0.536 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.3099, allocations: 182 kB / 0.5362 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.3101, allocations: 211 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.3102, allocations: 14.34 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009693/0.3112, allocations: 0.6626 MB / 0.537 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3113, allocations: 105.4 kB / 0.5371 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.3115, allocations: 201.7 kB / 0.5373 GB, free: 8.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009526/0.3125, allocations: 0.807 MB / 0.5381 GB, free: 7.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3125, allocations: 0.9688 kB / 0.5381 GB, free: 7.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3125, allocations: 0 / 0.5381 GB, free: 7.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3125, allocations: 0 / 0.5381 GB, free: 7.859 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001188/0.3137, allocations: 0.8245 MB / 0.5389 GB, free: 7.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3137, allocations: 14.25 kB / 0.5389 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.3138, allocations: 99.28 kB / 0.539 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003742/0.3142, allocations: 82.36 kB / 0.5391 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.3146, allocations: 319.5 kB / 0.5394 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.3147, allocations: 37 kB / 0.5394 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.3147, allocations: 52.34 kB / 0.5395 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.3158, allocations: 0.696 MB / 0.5402 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3158, allocations: 0 / 0.5402 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.3158, allocations: 20.59 kB / 0.5402 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.3159, allocations: 20.97 kB / 0.5402 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008624/0.3167, allocations: 0.5013 MB / 0.5407 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.3187, allocations: 1.503 MB / 0.5422 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.3193, allocations: 322.4 kB / 0.5425 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.3196, allocations: 159.2 kB / 0.5426 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.815e-05/0.3197, allocations: 10.06 kB / 0.5426 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3197, allocations: 40.92 kB / 0.5427 GB, free: 4.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/0.3197, allocations: 0 / 0.5427 GB, free: 4.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.0012/0.3209, allocations: 0.5154 MB / 0.5432 GB, free: 4.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.321, allocations: 113.2 kB / 0.5433 GB, free: 4.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.3216, allocations: 0.5631 MB / 0.5438 GB, free: 3.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.3216, allocations: 33.7 kB / 0.5439 GB, free: 3.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.3218, allocations: 228.4 kB / 0.5441 GB, free: 3.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/0.3219, allocations: 83.31 kB / 0.5442 GB, free: 3.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.322, allocations: 89.58 kB / 0.5442 GB, free: 3.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3221, allocations: 370.8 kB / 0.5446 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.3225, allocations: 139.9 kB / 0.5447 GB, free: 2.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/0.3228, allocations: 257.5 kB / 0.545 GB, free: 2.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007141/0.3236, allocations: 431.9 kB / 0.5454 GB, free: 2.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3236, allocations: 4 kB / 0.5454 GB, free: 2.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008684/0.3245, allocations: 488.7 kB / 0.5459 GB, free: 1.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3245, allocations: 13.81 kB / 0.5459 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.91e-05/0.3246, allocations: 44.41 kB / 0.5459 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3246, allocations: 8 kB / 0.5459 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.3248, allocations: 39.91 kB / 0.546 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.3248, allocations: 11.88 kB / 0.546 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.3251, allocations: 63.59 kB / 0.546 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.3251, allocations: 16 kB / 0.546 GB, free: 1.504 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002109/0.3253, allocations: 217.6 kB / 0.5462 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.992e-05/0.3254, allocations: 55.61 kB / 0.5463 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008289/0.3263, allocations: 461.4 kB / 0.5467 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.3263, allocations: 4 kB / 0.5467 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3263, allocations: 8 kB / 0.5468 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.3263, allocations: 7.922 kB / 0.5468 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.3269, allocations: 405.3 kB / 0.5471 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.084e-05/0.3269, allocations: 39.98 kB / 0.5472 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.3271, allocations: 27.91 kB / 0.5472 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3271, allocations: 4 kB / 0.5472 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.3271, allocations: 12 kB / 0.5472 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3271, allocations: 3.984 kB / 0.5472 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3272, allocations: 7.938 kB / 0.5472 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008349/0.328, allocations: 0.6151 MB / 0.5478 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3281, allocations: 124.8 kB / 0.548 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.3282, allocations: 8 kB / 0.548 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.3285, allocations: 19.97 kB / 0.548 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.3286, allocations: 35.8 kB / 0.548 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.3286, allocations: 15.97 kB / 0.548 GB, free: 15.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000406/0.329, allocations: 422.8 kB / 0.5484 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.329, allocations: 0 / 0.5484 GB, free: 14.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006528/0.3297, allocations: 179.5 kB / 0.5486 GB, free: 14.76 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.00142/0.3311, allocations: 1.289 MB / 0.5499 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009165/0.332, allocations: 0.6717 MB / 0.5505 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.332, allocations: 4 kB / 0.5505 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005003/0.3325, allocations: 494.6 kB / 0.551 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006543/0.3332, allocations: 97.84 kB / 0.5511 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006574/0.3398, allocations: 5.398 MB / 0.5564 GB, free: 6.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.3402, allocations: 0.8896 MB / 0.5572 GB, free: 5.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.3404, allocations: 79.33 kB / 0.5573 GB, free: 5.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.3406, allocations: 127.4 kB / 0.5574 GB, free: 5.355 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3406, allocations: 0 / 0.5574 GB, free: 5.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.3734, allocations: 14.23 MB / 0.5713 GB, free: 7.324 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/8.76, allocations: 8.125 kB / 0.5713 GB, free: 7.316 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches