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.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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009587/0.0009588, allocations: 201 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000743/0.0007432, allocations: 107.6 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1785/0.1785, allocations: 44.84 MB / 392 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002488/0.0002489, allocations: 12 kB / 464.8 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09308/0.09334, allocations: 62.96 MB / 0.5154 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002108/0.09549, allocations: 1.752 MB / 0.5171 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1837/0.2793, allocations: 1.578 MB / 0.5186 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.2794, allocations: 1.5 kB / 0.5186 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.2798, allocations: 79.78 kB / 0.5187 GB, free: 9.852 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.2799, allocations: 62.92 kB / 0.5187 GB, free: 9.832 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007462/0.2807, allocations: 272 kB / 0.519 GB, free: 9.785 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.2809, allocations: 152.6 kB / 0.5191 GB, free: 9.727 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.281, allocations: 14.03 kB / 0.5192 GB, free: 9.723 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.281, allocations: 45.97 kB / 0.5192 GB, free: 9.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.2811, allocations: 62.48 kB / 0.5193 GB, free: 9.688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.2812, allocations: 7.438 kB / 0.5193 GB, free: 9.684 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.2824, allocations: 0.7476 MB / 0.52 GB, free: 9.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.2824, allocations: 25.41 kB / 0.52 GB, free: 9.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.2825, allocations: 53.95 kB / 0.5201 GB, free: 9.621 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.283, allocations: 383 kB / 0.5204 GB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.283, allocations: 0 / 0.5204 GB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.283, allocations: 0 / 0.5204 GB, free: 9.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.283, allocations: 0 / 0.5204 GB, free: 9.566 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006022/0.2837, allocations: 497.5 kB / 0.5209 GB, free: 9.137 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2837, allocations: 9 kB / 0.5209 GB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.2838, allocations: 22.16 kB / 0.5209 GB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.2839, allocations: 206.4 kB / 0.5211 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.2839, allocations: 14.84 kB / 0.5212 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.284, allocations: 18.12 kB / 0.5212 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.2844, allocations: 277.7 kB / 0.5214 GB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2845, allocations: 1.438 kB / 0.5214 GB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.2845, allocations: 8.656 kB / 0.5214 GB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.2845, allocations: 5.562 kB / 0.5215 GB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.2848, allocations: 169.9 kB / 0.5216 GB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008417/0.2857, allocations: 0.9047 MB / 0.5225 GB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.2859, allocations: 73.45 kB / 0.5226 GB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.286, allocations: 38.89 kB / 0.5226 GB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.2861, allocations: 1.75 kB / 0.5226 GB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.2861, allocations: 31.78 kB / 0.5226 GB, free: 8.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.2861, allocations: 0 / 0.5226 GB, free: 8.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004557/0.2865, allocations: 147.4 kB / 0.5228 GB, free: 8.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.2866, allocations: 52.91 kB / 0.5228 GB, free: 7.973 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.2868, allocations: 267.9 kB / 0.5231 GB, free: 7.859 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.2869, allocations: 25.7 kB / 0.5231 GB, free: 7.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.2869, allocations: 191.4 kB / 0.5233 GB, free: 7.691 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.287, allocations: 26.27 kB / 0.5233 GB, free: 7.676 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.287, allocations: 0 / 0.5233 GB, free: 7.676 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.287, allocations: 333.7 kB / 0.5236 GB, free: 7.363 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.2872, allocations: 47.62 kB / 0.5237 GB, free: 7.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.2874, allocations: 191.6 kB / 0.5239 GB, free: 7.172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.2876, allocations: 79.83 kB / 0.5239 GB, free: 7.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2876, allocations: 5.281 kB / 0.5239 GB, free: 7.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004582/0.288, allocations: 260.2 kB / 0.5242 GB, free: 7.082 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2881, allocations: 8.172 kB / 0.5242 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/0.2881, allocations: 15.38 kB / 0.5242 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2881, allocations: 7.344 kB / 0.5242 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.2883, allocations: 53.23 kB / 0.5243 GB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.2883, allocations: 13.14 kB / 0.5243 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.2885, allocations: 42.34 kB / 0.5243 GB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.2885, allocations: 20.05 kB / 0.5243 GB, free: 7.043 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.324e-05/0.2886, allocations: 138.3 kB / 0.5245 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.2886, allocations: 20.62 kB / 0.5245 GB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.289, allocations: 153.4 kB / 0.5246 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.289, allocations: 1.531 kB / 0.5246 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2891, allocations: 0 / 0.5246 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2891, allocations: 1.719 kB / 0.5246 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.2893, allocations: 219.6 kB / 0.5249 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/0.2893, allocations: 12.67 kB / 0.5249 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.2893, allocations: 9.109 kB / 0.5249 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2894, allocations: 1.766 kB / 0.5249 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2894, allocations: 2.906 kB / 0.5249 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2894, allocations: 4.969 kB / 0.5249 GB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2894, allocations: 0 / 0.5249 GB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.2897, allocations: 214.7 kB / 0.5251 GB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.2897, allocations: 100.3 kB / 0.5252 GB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.2897, allocations: 0.7031 kB / 0.5252 GB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2899, allocations: 10.69 kB / 0.5252 GB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.2899, allocations: 9.672 kB / 0.5252 GB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.2899, allocations: 5.359 kB / 0.5252 GB, free: 6.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.2901, allocations: 178.7 kB / 0.5254 GB, free: 6.324 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2901, allocations: 0 / 0.5254 GB, free: 6.324 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004997/0.2906, allocations: 108.2 kB / 0.5255 GB, free: 6.309 MB / 346.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004312/0.291, allocations: 200.7 kB / 0.5257 GB, free: 6.203 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004721/0.2915, allocations: 208.3 kB / 0.5259 GB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2915, allocations: 1 kB / 0.5259 GB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.2917, allocations: 110.2 kB / 0.526 GB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.292, allocations: 37.66 kB / 0.526 GB, free: 6.031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.2927, allocations: 440.1 kB / 0.5264 GB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.2928, allocations: 0.7328 MB / 0.5272 GB, free: 5.047 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.2929, allocations: 17.38 kB / 0.5272 GB, free: 5.039 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2929, allocations: 0 / 0.5272 GB, free: 5.039 MB / 346.7 MB Notification: Performance of Templates: time 0.008219/0.3011, allocations: 5.105 MB / 0.5322 GB, free: 4.496 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches