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.001575/0.001575, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001805/0.001805, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3537, allocations: 62.42 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.004063/0.3578, allocations: 2.169 MB / 0.5327 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.3611, allocations: 1.832 MB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.3614, allocations: 2.75 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.3618, allocations: 79.95 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005699/0.3624, allocations: 149.5 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.3636, allocations: 334 kB / 0.535 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007358/0.3644, allocations: 483.8 kB / 0.5354 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.3645, allocations: 63.77 kB / 0.5355 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005126/0.365, allocations: 188.7 kB / 0.5357 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.3655, allocations: 221.9 kB / 0.5359 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.599e-05/0.3655, allocations: 13.09 kB / 0.5359 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.3668, allocations: 0.5655 MB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.367, allocations: 113.8 kB / 0.5366 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004106/0.3674, allocations: 190.3 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.369, allocations: 0.7407 MB / 0.5375 GB, free: 8.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3691, allocations: 1.156 kB / 0.5375 GB, free: 8.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.3691, allocations: 4 kB / 0.5375 GB, free: 8.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.3691, allocations: 0 / 0.5375 GB, free: 8.355 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.001853/0.371, allocations: 0.7803 MB / 0.5382 GB, free: 7.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.371, allocations: 10.34 kB / 0.5382 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.3712, allocations: 96.73 kB / 0.5383 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.3714, allocations: 51.56 kB / 0.5384 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005513/0.3719, allocations: 310.3 kB / 0.5387 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.372, allocations: 41.38 kB / 0.5387 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-05/0.3721, allocations: 45.92 kB / 0.5388 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.3734, allocations: 0.7027 MB / 0.5395 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.3734, allocations: 3.984 kB / 0.5395 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.3735, allocations: 27.89 kB / 0.5395 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.187e-05/0.3736, allocations: 53.59 kB / 0.5395 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.375, allocations: 0.7444 MB / 0.5403 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/0.3789, allocations: 1.43 MB / 0.5417 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.38, allocations: 460.5 kB / 0.5421 GB, free: 5.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.3804, allocations: 156.8 kB / 0.5422 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.915e-05/0.3805, allocations: 12.33 kB / 0.5423 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.3806, allocations: 40.52 kB / 0.5423 GB, free: 5.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.855e-06/0.3806, allocations: 0 / 0.5423 GB, free: 5.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001335/0.3819, allocations: 0.5383 MB / 0.5428 GB, free: 5.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.382, allocations: 53.5 kB / 0.5429 GB, free: 4.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007947/0.3828, allocations: 0.5349 MB / 0.5434 GB, free: 4.406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.3829, allocations: 25.7 kB / 0.5434 GB, free: 4.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.3831, allocations: 248.1 kB / 0.5437 GB, free: 4.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3832, allocations: 94.59 kB / 0.5438 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.3833, allocations: 102 kB / 0.5438 GB, free: 3.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3835, allocations: 354.8 kB / 0.5442 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.3839, allocations: 164.5 kB / 0.5443 GB, free: 3.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.3843, allocations: 297.6 kB / 0.5446 GB, free: 3.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008408/0.3852, allocations: 0.4889 MB / 0.5451 GB, free: 2.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.3852, allocations: 4 kB / 0.5451 GB, free: 2.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001128/0.3863, allocations: 0.5394 MB / 0.5456 GB, free: 1.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.3864, allocations: 8 kB / 0.5456 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.3864, allocations: 4 kB / 0.5456 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.3864, allocations: 8 kB / 0.5457 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.3875, allocations: 215.8 kB / 0.5459 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004719/0.3922, allocations: 7.31 MB / 0.553 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.3928, allocations: 63.27 kB / 0.5531 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.621e-05/0.3929, allocations: 20 kB / 0.5531 GB, free: 10.06 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.0004403/0.3934, allocations: 241.7 kB / 0.5533 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3935, allocations: 47.44 kB / 0.5534 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.3948, allocations: 0.5331 MB / 0.5539 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3948, allocations: 7.938 kB / 0.5539 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.3948, allocations: 0 / 0.5539 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.3949, allocations: 3.984 kB / 0.5539 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008764/0.3957, allocations: 429.2 kB / 0.5543 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.3958, allocations: 4 kB / 0.5543 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009315/0.3967, allocations: 199.8 kB / 0.5545 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.3967, allocations: 4 kB / 0.5545 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.3968, allocations: 19.92 kB / 0.5545 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004711/0.4015, allocations: 7.302 MB / 0.5616 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4016, allocations: 0 / 0.5616 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.4027, allocations: 0.5075 MB / 0.5621 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.403, allocations: 124.6 kB / 0.5623 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.4031, allocations: 7.984 kB / 0.5623 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.4035, allocations: 12.09 kB / 0.5623 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.4036, allocations: 23.97 kB / 0.5623 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.4037, allocations: 23.92 kB / 0.5623 GB, free: 208 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006572/0.4044, allocations: 383 kB / 0.5627 GB, free: 15.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4044, allocations: 0 / 0.5627 GB, free: 15.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009163/0.4053, allocations: 183.8 kB / 0.5629 GB, free: 15.65 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.001705/0.407, allocations: 1.16 MB / 0.564 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.4088, allocations: 0.5555 MB / 0.5645 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4089, allocations: 0 / 0.5645 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.41, allocations: 343.6 kB / 0.5649 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007884/0.4108, allocations: 89.84 kB / 0.565 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008889/0.4197, allocations: 5.287 MB / 0.5701 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/0.4204, allocations: 0.8936 MB / 0.571 GB, free: 7.082 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005057/0.421, allocations: 144.2 kB / 0.5711 GB, free: 6.938 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.4212, allocations: 147.4 kB / 0.5713 GB, free: 6.793 MB / 430.1 MB Notification: Performance of SimCode: time 3.406e-06/0.4213, allocations: 4 kB / 0.5713 GB, free: 6.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05147/0.4727, allocations: 15.2 MB / 0.5861 GB, free: 7.852 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.17, allocations: 4.422 kB / 0.5861 GB, free: 7.848 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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