Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.0009377/0.0009377, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.173/1.173, allocations: 226.5 MB / 243.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007297/0.0007297, allocations: 93.12 kB / 295.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2815/0.2815, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.0002699, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2495, allocations: 62.96 MB / 0.516 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.001691/0.2513, allocations: 1.837 MB / 0.5178 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2523, allocations: 1.006 MB / 0.5188 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.701e-05/0.2524, allocations: 6.812 kB / 0.5188 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.2527, allocations: 73.97 kB / 0.5188 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.2529, allocations: 80.28 kB / 0.5189 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.2531, allocations: 96.64 kB / 0.519 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.2532, allocations: 171.8 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.446e-05/0.2533, allocations: 15.78 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.2534, allocations: 70.98 kB / 0.5192 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.186e-05/0.2535, allocations: 86.5 kB / 0.5193 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.2535, allocations: 5.906 kB / 0.5193 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.2538, allocations: 247.2 kB / 0.5196 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.2539, allocations: 33.36 kB / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.254, allocations: 99.19 kB / 0.5197 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.2542, allocations: 226.9 kB / 0.5199 GB, free: 34.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2542, allocations: 0 / 0.5199 GB, free: 34.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2542, allocations: 0 / 0.5199 GB, free: 34.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2542, allocations: 0 / 0.5199 GB, free: 34.47 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0004151/0.2546, allocations: 471.5 kB / 0.5204 GB, free: 34.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2547, allocations: 9.562 kB / 0.5204 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.2547, allocations: 59.33 kB / 0.5204 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.2547, allocations: 24.03 kB / 0.5204 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.2549, allocations: 210.4 kB / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.2549, allocations: 14.72 kB / 0.5207 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.2549, allocations: 30.41 kB / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.2553, allocations: 234 kB / 0.5209 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2553, allocations: 0 / 0.5209 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.2553, allocations: 11.06 kB / 0.5209 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2554, allocations: 10.12 kB / 0.5209 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.2557, allocations: 252.7 kB / 0.5212 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000733/0.2565, allocations: 0.6154 MB / 0.5218 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.2567, allocations: 108.6 kB / 0.5219 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.2568, allocations: 47.83 kB / 0.5219 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.2569, allocations: 3.984 kB / 0.5219 GB, free: 33.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.2569, allocations: 37.91 kB / 0.522 GB, free: 32.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.123e-06/0.2569, allocations: 0 / 0.522 GB, free: 32.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004683/0.2574, allocations: 179.9 kB / 0.5221 GB, free: 32.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.2574, allocations: 54.31 kB / 0.5222 GB, free: 32.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.2576, allocations: 267.3 kB / 0.5224 GB, free: 32.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.2576, allocations: 29.7 kB / 0.5225 GB, free: 32.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.2577, allocations: 167.8 kB / 0.5226 GB, free: 32.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.2577, allocations: 31.98 kB / 0.5227 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.2577, allocations: 6.656 kB / 0.5227 GB, free: 32.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.2578, allocations: 337.7 kB / 0.523 GB, free: 32.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2579, allocations: 50.73 kB / 0.523 GB, free: 32.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.2582, allocations: 154.1 kB / 0.5232 GB, free: 32.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.2585, allocations: 221.6 kB / 0.5234 GB, free: 31.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2585, allocations: 0 / 0.5234 GB, free: 31.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003977/0.2589, allocations: 251.8 kB / 0.5236 GB, free: 31.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2589, allocations: 10.84 kB / 0.5236 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2589, allocations: 2.875 kB / 0.5237 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.259, allocations: 6 kB / 0.5237 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.2593, allocations: 87.16 kB / 0.5237 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004385/0.2598, allocations: 1.218 MB / 0.5249 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.26, allocations: 40.09 kB / 0.525 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.26, allocations: 19.31 kB / 0.525 GB, free: 30.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.75e-05/0.2601, allocations: 132.3 kB / 0.5251 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.2601, allocations: 19.88 kB / 0.5251 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000413/0.2605, allocations: 185.4 kB / 0.5253 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2606, allocations: 2.75 kB / 0.5253 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2606, allocations: 0 / 0.5253 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2606, allocations: 0 / 0.5253 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.2611, allocations: 463.6 kB / 0.5258 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2611, allocations: 0 / 0.5258 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.2613, allocations: 63.62 kB / 0.5258 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2613, allocations: 0 / 0.5258 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2613, allocations: 10.2 kB / 0.5258 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003664/0.2617, allocations: 1.216 MB / 0.527 GB, free: 28.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2617, allocations: 0 / 0.527 GB, free: 28.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.262, allocations: 256.7 kB / 0.5273 GB, free: 28.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.2621, allocations: 98.08 kB / 0.5274 GB, free: 28.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.2621, allocations: 10.94 kB / 0.5274 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.2623, allocations: 5.875 kB / 0.5274 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.2623, allocations: 7.219 kB / 0.5274 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.2623, allocations: 6.578 kB / 0.5274 GB, free: 28.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.2624, allocations: 186.1 kB / 0.5276 GB, free: 28.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2625, allocations: 0 / 0.5276 GB, free: 28.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.2628, allocations: 70.44 kB / 0.5276 GB, free: 28.27 MB / 378.7 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005868/0.2634, allocations: 0.8377 MB / 0.5284 GB, free: 27.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004752/0.2639, allocations: 178.3 kB / 0.5286 GB, free: 27.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2639, allocations: 0.875 kB / 0.5286 GB, free: 27.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.2641, allocations: 94.16 kB / 0.5287 GB, free: 27.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.2645, allocations: 24.23 kB / 0.5287 GB, free: 27.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.2661, allocations: 1.422 MB / 0.5301 GB, free: 26.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.2663, allocations: 0.7337 MB / 0.5308 GB, free: 25.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.2664, allocations: 65.92 kB / 0.5309 GB, free: 25.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2664, allocations: 0 / 0.5309 GB, free: 25.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.015/3.281, allocations: 4.945 MB / 0.5357 GB, free: 25.45 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches