Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.001387/0.001387, allocations: 191.4 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.239/1.239, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007045/0.0007046, allocations: 99.94 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2745/0.2745, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002531/0.0002533, allocations: 8 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2584, allocations: 62.96 MB / 0.516 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002043/0.2605, allocations: 2.285 MB / 0.5182 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.2621, allocations: 1.37 MB / 0.5195 GB, free: 34.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.2623, allocations: 0 / 0.5195 GB, free: 34.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.2626, allocations: 90.41 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.263, allocations: 116.8 kB / 0.5197 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.2635, allocations: 207.2 kB / 0.5199 GB, free: 34.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.2638, allocations: 265 kB / 0.5202 GB, free: 34.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.2639, allocations: 24.34 kB / 0.5202 GB, free: 34.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.264, allocations: 99.11 kB / 0.5203 GB, free: 34.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.2642, allocations: 112.7 kB / 0.5204 GB, free: 34.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.2642, allocations: 5.875 kB / 0.5204 GB, free: 34.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007913/0.265, allocations: 0.5922 MB / 0.521 GB, free: 33.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.265, allocations: 37.69 kB / 0.521 GB, free: 33.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.2652, allocations: 144.8 kB / 0.5212 GB, free: 33.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.2655, allocations: 366.5 kB / 0.5215 GB, free: 33.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2655, allocations: 0 / 0.5215 GB, free: 33.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2655, allocations: 0 / 0.5215 GB, free: 33.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2655, allocations: 0 / 0.5215 GB, free: 33.61 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0005548/0.2661, allocations: 0.58 MB / 0.5221 GB, free: 33.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2661, allocations: 9.219 kB / 0.5221 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/0.2662, allocations: 74.44 kB / 0.5222 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.2662, allocations: 39.91 kB / 0.5222 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.2664, allocations: 245.2 kB / 0.5224 GB, free: 32.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2665, allocations: 28.25 kB / 0.5225 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.2665, allocations: 42.5 kB / 0.5225 GB, free: 32.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.267, allocations: 0.577 MB / 0.5231 GB, free: 32.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.267, allocations: 8.781 kB / 0.5231 GB, free: 32.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.2671, allocations: 21.44 kB / 0.5231 GB, free: 32.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2671, allocations: 12.25 kB / 0.5231 GB, free: 32.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.2675, allocations: 337.5 kB / 0.5234 GB, free: 32.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.2689, allocations: 4.045 MB / 0.5274 GB, free: 28.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.2692, allocations: 94.34 kB / 0.5275 GB, free: 28.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2693, allocations: 44 kB / 0.5275 GB, free: 28.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.2693, allocations: 7.219 kB / 0.5275 GB, free: 28.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.2693, allocations: 33.84 kB / 0.5276 GB, free: 28.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.2694, allocations: 7.922 kB / 0.5276 GB, free: 28.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004458/0.2698, allocations: 184.2 kB / 0.5277 GB, free: 28.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.2698, allocations: 54.25 kB / 0.5278 GB, free: 27.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.2701, allocations: 402.7 kB / 0.5282 GB, free: 27.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.2701, allocations: 29.64 kB / 0.5282 GB, free: 27.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.2702, allocations: 250.5 kB / 0.5284 GB, free: 27.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.2703, allocations: 40.27 kB / 0.5285 GB, free: 27.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.2703, allocations: 8 kB / 0.5285 GB, free: 27.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.921e-05/0.2704, allocations: 349.4 kB / 0.5288 GB, free: 27.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.2705, allocations: 59.69 kB / 0.5289 GB, free: 27.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.2707, allocations: 269.4 kB / 0.5291 GB, free: 26.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.2711, allocations: 364.6 kB / 0.5295 GB, free: 26.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2711, allocations: 2.625 kB / 0.5295 GB, free: 26.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004872/0.2716, allocations: 362.5 kB / 0.5298 GB, free: 26.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2716, allocations: 6.281 kB / 0.5298 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2716, allocations: 8.656 kB / 0.5299 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2716, allocations: 10.56 kB / 0.5299 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.272, allocations: 110.3 kB / 0.53 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000419/0.2725, allocations: 1.223 MB / 0.5312 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.2727, allocations: 66.81 kB / 0.5312 GB, free: 25.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.2727, allocations: 16.22 kB / 0.5312 GB, free: 25.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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 0.0001065/0.2729, allocations: 154.2 kB / 0.5314 GB, free: 24.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.2729, allocations: 39.47 kB / 0.5314 GB, free: 24.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.2733, allocations: 179.3 kB / 0.5316 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2733, allocations: 0 / 0.5316 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2733, allocations: 5.672 kB / 0.5316 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2733, allocations: 0 / 0.5316 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.2735, allocations: 277.9 kB / 0.5319 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2735, allocations: 4 kB / 0.5319 GB, free: 24.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.2738, allocations: 63.39 kB / 0.5319 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2738, allocations: 0 / 0.5319 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2738, allocations: 6.594 kB / 0.5319 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003351/0.2742, allocations: 1.202 MB / 0.5331 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2742, allocations: 3.984 kB / 0.5331 GB, free: 23.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.2745, allocations: 246.5 kB / 0.5334 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.2745, allocations: 106.3 kB / 0.5335 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.2746, allocations: 14.33 kB / 0.5335 GB, free: 23.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.2747, allocations: 13.78 kB / 0.5335 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.2748, allocations: 6.438 kB / 0.5335 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.2748, allocations: 2.844 kB / 0.5335 GB, free: 23.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.275, allocations: 271.5 kB / 0.5337 GB, free: 22.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.275, allocations: 0 / 0.5337 GB, free: 22.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004552/0.2755, allocations: 112.8 kB / 0.5339 GB, free: 22.98 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 (7): * Single equations (assignments): 5 * 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.0006608/0.2761, allocations: 0.8677 MB / 0.5347 GB, free: 22.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004751/0.2766, allocations: 209.5 kB / 0.5349 GB, free: 22.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2766, allocations: 0 / 0.5349 GB, free: 22.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.2769, allocations: 91.2 kB / 0.535 GB, free: 22.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2772, allocations: 31.05 kB / 0.535 GB, free: 22.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.2793, allocations: 1.999 MB / 0.537 GB, free: 20.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.2794, allocations: 0.7647 MB / 0.5377 GB, free: 20.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.2796, allocations: 109.1 kB / 0.5378 GB, free: 20.15 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2796, allocations: 0 / 0.5378 GB, free: 20.15 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.128/3.407, allocations: 7.75 MB / 0.5454 GB, free: 19.54 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches