Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_cpp_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_cpp_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/Complex trunk/package.mo): time 0.0008822/0.0008823, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 226.5 MB / 243.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007309/0.0007309, allocations: 94.86 kB / 295.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2658/0.2658, allocations: 44.82 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002498/0.0002498, allocations: 12 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2598, allocations: 62.97 MB / 0.516 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.001607/0.2614, allocations: 1.808 MB / 0.5178 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2631, allocations: 1.667 MB / 0.5194 GB, free: 34.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.2632, allocations: 7.875 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.2634, allocations: 54.86 kB / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.2637, allocations: 136.8 kB / 0.5196 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.2642, allocations: 282.5 kB / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.2646, allocations: 0.5497 MB / 0.5204 GB, free: 34.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.878e-05/0.2647, allocations: 66.12 kB / 0.5204 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.2649, allocations: 166.8 kB / 0.5206 GB, free: 33.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.2651, allocations: 234.9 kB / 0.5208 GB, free: 33.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.2651, allocations: 8.469 kB / 0.5208 GB, free: 33.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.2657, allocations: 0.5352 MB / 0.5214 GB, free: 33.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.2658, allocations: 108.8 kB / 0.5215 GB, free: 33.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.2659, allocations: 209.1 kB / 0.5217 GB, free: 33.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.2663, allocations: 495.8 kB / 0.5221 GB, free: 33.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2663, allocations: 4 kB / 0.5221 GB, free: 33.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2664, allocations: 0 / 0.5221 GB, free: 33.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2664, allocations: 0 / 0.5221 GB, free: 33.36 MB / 378.7 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.0008209/0.2672, allocations: 0.6906 MB / 0.5228 GB, free: 32.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2672, allocations: 12.3 kB / 0.5228 GB, free: 32.81 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.147e-05/0.2673, allocations: 102.6 kB / 0.5229 GB, free: 32.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.2674, allocations: 55.44 kB / 0.523 GB, free: 32.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.2676, allocations: 301.6 kB / 0.5233 GB, free: 32.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.2677, allocations: 44.23 kB / 0.5233 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.2677, allocations: 40.94 kB / 0.5233 GB, free: 32.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/0.2685, allocations: 0.7155 MB / 0.524 GB, free: 32.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2686, allocations: 0 / 0.524 GB, free: 32.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.2686, allocations: 14.59 kB / 0.524 GB, free: 32.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.2687, allocations: 56.3 kB / 0.5241 GB, free: 32.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008818/0.2695, allocations: 0.7479 MB / 0.5248 GB, free: 31.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.2711, allocations: 1.439 MB / 0.5262 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.2717, allocations: 452.8 kB / 0.5267 GB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.2719, allocations: 160.2 kB / 0.5268 GB, free: 31.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.272, allocations: 10.06 kB / 0.5268 GB, free: 31.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.272, allocations: 34.8 kB / 0.5269 GB, free: 31.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.272, allocations: 4 kB / 0.5269 GB, free: 31.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008928/0.2729, allocations: 0.5563 MB / 0.5274 GB, free: 31.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/0.273, allocations: 54.47 kB / 0.5275 GB, free: 30.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.2733, allocations: 0.5283 MB / 0.528 GB, free: 30.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.2734, allocations: 25.7 kB / 0.528 GB, free: 30.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2735, allocations: 257.8 kB / 0.5283 GB, free: 30.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.2735, allocations: 95.84 kB / 0.5283 GB, free: 30.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.2736, allocations: 11.03 kB / 0.5284 GB, free: 30.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.2736, allocations: 351.9 kB / 0.5287 GB, free: 30.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.2739, allocations: 177.9 kB / 0.5289 GB, free: 30.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.2742, allocations: 300.4 kB / 0.5291 GB, free: 29.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.2748, allocations: 0.4971 MB / 0.5296 GB, free: 29.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2748, allocations: 0 / 0.5296 GB, free: 29.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007303/0.2755, allocations: 0.543 MB / 0.5302 GB, free: 29.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2755, allocations: 6.031 kB / 0.5302 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2756, allocations: 5.531 kB / 0.5302 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2756, allocations: 5.938 kB / 0.5302 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008732/0.2765, allocations: 223 kB / 0.5304 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.2784, allocations: 7.314 MB / 0.5375 GB, free: 22.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.2787, allocations: 68.05 kB / 0.5376 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.2787, allocations: 29.91 kB / 0.5376 GB, free: 22.23 MB / 378.7 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 (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002069/0.279, allocations: 231.8 kB / 0.5378 GB, free: 22.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.279, allocations: 41.31 kB / 0.5379 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008691/0.2799, allocations: 0.5494 MB / 0.5384 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2799, allocations: 2.844 kB / 0.5384 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2799, allocations: 2.531 kB / 0.5384 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2799, allocations: 7.281 kB / 0.5384 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.2803, allocations: 429.1 kB / 0.5388 GB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2803, allocations: 6.562 kB / 0.5389 GB, free: 21.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/0.2811, allocations: 201.2 kB / 0.539 GB, free: 21.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2811, allocations: 0 / 0.539 GB, free: 21.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.2811, allocations: 23.19 kB / 0.5391 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.283, allocations: 7.305 MB / 0.5462 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.283, allocations: 3.938 kB / 0.5462 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.2836, allocations: 0.5168 MB / 0.5467 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.2837, allocations: 128.8 kB / 0.5468 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.2838, allocations: 4 kB / 0.5468 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.284, allocations: 14.97 kB / 0.5468 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.2841, allocations: 26.45 kB / 0.5469 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.2841, allocations: 21.91 kB / 0.5469 GB, free: 14.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002921/0.2844, allocations: 383.5 kB / 0.5473 GB, free: 13.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2844, allocations: 0 / 0.5473 GB, free: 13.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004993/0.2849, allocations: 168 kB / 0.5474 GB, free: 13.87 MB / 378.7 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 (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/0.2861, allocations: 1.168 MB / 0.5486 GB, free: 29.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.2875, allocations: 0.5642 MB / 0.5491 GB, free: 28.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2876, allocations: 0 / 0.5491 GB, free: 28.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000982/0.2885, allocations: 353.5 kB / 0.5494 GB, free: 28.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.289, allocations: 88.97 kB / 0.5495 GB, free: 28.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.2931, allocations: 3.336 MB / 0.5528 GB, free: 27.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.2935, allocations: 0.8856 MB / 0.5537 GB, free: 26.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.2937, allocations: 151.5 kB / 0.5538 GB, free: 26.57 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2937, allocations: 0 / 0.5538 GB, free: 26.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.343/5.637, allocations: 31.12 MB / 0.5842 GB, free: 2.285 MB / 394.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches