Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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_evenGapLaminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 122.8 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001924/0.001924, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 79.86 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3599, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003251/0.3632, allocations: 1.959 MB / 0.5325 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.3652, allocations: 1.164 MB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.3654, allocations: 2.469 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.3657, allocations: 72.75 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.366, allocations: 109.2 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.3666, allocations: 158.7 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.3672, allocations: 476 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3673, allocations: 58 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.3676, allocations: 165.5 kB / 0.5346 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.3679, allocations: 193.9 kB / 0.5348 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/0.368, allocations: 10.09 kB / 0.5348 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005643/0.3686, allocations: 266.2 kB / 0.535 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.3687, allocations: 100.2 kB / 0.5351 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.369, allocations: 187.2 kB / 0.5353 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008667/0.3698, allocations: 0.5645 MB / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3699, allocations: 0 / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3699, allocations: 0 / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.3699, allocations: 0 / 0.5359 GB, free: 9.543 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001346/0.3712, allocations: 0.7477 MB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3713, allocations: 9.75 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.3714, allocations: 95.33 kB / 0.5367 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.3716, allocations: 55.58 kB / 0.5367 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.372, allocations: 286.5 kB / 0.537 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.372, allocations: 49.08 kB / 0.5371 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.075e-05/0.3721, allocations: 55.86 kB / 0.5371 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009963/0.3731, allocations: 0.6289 MB / 0.5377 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3731, allocations: 1.125 kB / 0.5377 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.3732, allocations: 20.38 kB / 0.5378 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/0.3732, allocations: 32.17 kB / 0.5378 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.3741, allocations: 0.5092 MB / 0.5383 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.3768, allocations: 1.423 MB / 0.5397 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/0.3776, allocations: 438.4 kB / 0.5401 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.3779, allocations: 142.3 kB / 0.5402 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.095e-05/0.3779, allocations: 17.62 kB / 0.5402 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.378, allocations: 39.59 kB / 0.5403 GB, free: 6.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.378, allocations: 0 / 0.5403 GB, free: 6.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001047/0.379, allocations: 0.4999 MB / 0.5408 GB, free: 6.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.3791, allocations: 53.69 kB / 0.5408 GB, free: 6.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/0.3798, allocations: 0.548 MB / 0.5414 GB, free: 6.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3799, allocations: 26.98 kB / 0.5414 GB, free: 6.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.3801, allocations: 228.8 kB / 0.5416 GB, free: 5.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.786e-05/0.3802, allocations: 90.11 kB / 0.5417 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.3804, allocations: 86.61 kB / 0.5418 GB, free: 5.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3806, allocations: 367.8 kB / 0.5421 GB, free: 5.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.3808, allocations: 155.8 kB / 0.5423 GB, free: 5.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.3812, allocations: 254.4 kB / 0.5425 GB, free: 5.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003691/0.3849, allocations: 1.059 MB / 0.5435 GB, free: 4.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.3849, allocations: 4 kB / 0.5435 GB, free: 4.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008205/0.3858, allocations: 0.493 MB / 0.544 GB, free: 3.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3858, allocations: 4 kB / 0.544 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-05/0.3859, allocations: 44.39 kB / 0.5441 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3859, allocations: 8 kB / 0.5441 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.3861, allocations: 39.91 kB / 0.5441 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.3861, allocations: 7.938 kB / 0.5441 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.3865, allocations: 67.41 kB / 0.5442 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.3865, allocations: 31.98 kB / 0.5442 GB, free: 3.449 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0003375/0.3869, allocations: 221.9 kB / 0.5444 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.968e-05/0.387, allocations: 43.72 kB / 0.5445 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009523/0.3879, allocations: 0.5362 MB / 0.545 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.3879, allocations: 4 kB / 0.545 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3879, allocations: 0 / 0.545 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.388, allocations: 3.984 kB / 0.545 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006959/0.3887, allocations: 433.2 kB / 0.5454 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.267e-05/0.3887, allocations: 35.98 kB / 0.5455 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.3889, allocations: 27.98 kB / 0.5455 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3889, allocations: 0 / 0.5455 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.389, allocations: 16 kB / 0.5455 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.389, allocations: 4 kB / 0.5455 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.389, allocations: 4 kB / 0.5455 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.3901, allocations: 0.7108 MB / 0.5462 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.3903, allocations: 132.8 kB / 0.5463 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.3904, allocations: 4 kB / 0.5463 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.3906, allocations: 8 kB / 0.5463 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.3907, allocations: 27.97 kB / 0.5464 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.3908, allocations: 12 kB / 0.5464 GB, free: 1.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000483/0.3912, allocations: 403.1 kB / 0.5468 GB, free: 0.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3913, allocations: 0 / 0.5468 GB, free: 0.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005702/0.3918, allocations: 155.8 kB / 0.5469 GB, free: 0.5977 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 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.00148/0.3933, allocations: 1.317 MB / 0.5482 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007693/0.3941, allocations: 0.6763 MB / 0.5489 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3941, allocations: 0 / 0.5489 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.3945, allocations: 492.4 kB / 0.5493 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.3951, allocations: 85.86 kB / 0.5494 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007215/0.4023, allocations: 5.343 MB / 0.5546 GB, free: 8.363 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.4028, allocations: 0.8857 MB / 0.5555 GB, free: 7.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002799/0.4031, allocations: 124.1 kB / 0.5556 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.4033, allocations: 135.4 kB / 0.5557 GB, free: 7.191 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4033, allocations: 0 / 0.5557 GB, free: 7.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.4405, allocations: 12.8 MB / 0.5682 GB, free: 10.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/8.72, allocations: 12.25 kB / 0.5682 GB, free: 10.6 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches