Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001208, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 210.7 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.201/0.201, allocations: 46.11 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 71.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3209, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003232/0.3241, allocations: 2.124 MB / 0.5338 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.326, allocations: 1.412 MB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.624e-05/0.3261, allocations: 1.375 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.3265, allocations: 94.75 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.3266, allocations: 59.67 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.3272, allocations: 213.1 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.3273, allocations: 150.4 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.813e-05/0.3274, allocations: 17.3 kB / 0.5357 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.3276, allocations: 62.22 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.531e-05/0.3277, allocations: 63.28 kB / 0.5358 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3278, allocations: 3.219 kB / 0.5358 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005886/0.3284, allocations: 436.5 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.3284, allocations: 25.44 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.537e-05/0.3285, allocations: 74.92 kB / 0.5363 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005813/0.3291, allocations: 436.2 kB / 0.5367 GB, free: 9.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3291, allocations: 5.125 kB / 0.5367 GB, free: 9.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3291, allocations: 0 / 0.5367 GB, free: 9.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3291, allocations: 0 / 0.5367 GB, free: 9.723 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006005/0.3297, allocations: 0.4974 MB / 0.5372 GB, free: 9.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.3298, allocations: 10.23 kB / 0.5372 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.3299, allocations: 19.28 kB / 0.5372 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.33, allocations: 214.4 kB / 0.5374 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.3301, allocations: 11.12 kB / 0.5374 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.3301, allocations: 19.84 kB / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.3305, allocations: 208.3 kB / 0.5377 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3305, allocations: 0 / 0.5377 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.3305, allocations: 6.188 kB / 0.5377 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3305, allocations: 4.406 kB / 0.5377 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.3309, allocations: 153.9 kB / 0.5378 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008278/0.3317, allocations: 0.5779 MB / 0.5384 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.3319, allocations: 54.86 kB / 0.5384 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.332, allocations: 33.17 kB / 0.5385 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.332, allocations: 5.031 kB / 0.5385 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.3321, allocations: 35.69 kB / 0.5385 GB, free: 8.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.665e-06/0.3321, allocations: 4 kB / 0.5385 GB, free: 8.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005349/0.3326, allocations: 131.2 kB / 0.5386 GB, free: 8.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.3327, allocations: 52.56 kB / 0.5387 GB, free: 8.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.3329, allocations: 258.8 kB / 0.5389 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3329, allocations: 29.7 kB / 0.539 GB, free: 7.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.333, allocations: 160.2 kB / 0.5391 GB, free: 7.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.3331, allocations: 18.17 kB / 0.5391 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.3332, allocations: 49.77 kB / 0.5392 GB, free: 7.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3333, allocations: 335.4 kB / 0.5395 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.3334, allocations: 30.17 kB / 0.5395 GB, free: 7.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.3336, allocations: 134 kB / 0.5396 GB, free: 7.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.334, allocations: 181.6 kB / 0.5398 GB, free: 6.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.334, allocations: 2.406 kB / 0.5398 GB, free: 6.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000418/0.3344, allocations: 202.2 kB / 0.54 GB, free: 6.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3344, allocations: 7.625 kB / 0.54 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.3344, allocations: 11.53 kB / 0.54 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3345, allocations: 4.625 kB / 0.54 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3346, allocations: 34.45 kB / 0.5401 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3346, allocations: 8.078 kB / 0.5401 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.3348, allocations: 35.47 kB / 0.5401 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.3348, allocations: 14.09 kB / 0.5401 GB, free: 6.801 MB / 398.1 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.3349, allocations: 138.5 kB / 0.5403 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.3349, allocations: 20.25 kB / 0.5403 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.3354, allocations: 140.1 kB / 0.5404 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.3354, allocations: 9 kB / 0.5404 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3354, allocations: 0 / 0.5404 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.3354, allocations: 0 / 0.5404 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.3356, allocations: 229 kB / 0.5406 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.3357, allocations: 8.656 kB / 0.5406 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.3357, allocations: 8.891 kB / 0.5407 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3357, allocations: 0 / 0.5407 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3357, allocations: 2.281 kB / 0.5407 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3357, allocations: 0.8438 kB / 0.5407 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3357, allocations: 5.125 kB / 0.5407 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.3361, allocations: 199.5 kB / 0.5409 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.379e-05/0.3362, allocations: 101.7 kB / 0.541 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.3362, allocations: 0 / 0.541 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3363, allocations: 7.484 kB / 0.541 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.3364, allocations: 11.41 kB / 0.541 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.3364, allocations: 7.438 kB / 0.541 GB, free: 6.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.3365, allocations: 183.9 kB / 0.5412 GB, free: 5.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3365, allocations: 0 / 0.5412 GB, free: 5.887 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003943/0.3369, allocations: 69.69 kB / 0.5412 GB, free: 5.875 MB / 398.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003125/0.3373, allocations: 172.8 kB / 0.5414 GB, free: 5.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004853/0.3378, allocations: 175.2 kB / 0.5416 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3378, allocations: 0 / 0.5416 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.338, allocations: 99.28 kB / 0.5416 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3383, allocations: 29.25 kB / 0.5417 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006657/0.339, allocations: 386 kB / 0.542 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.3393, allocations: 0.7312 MB / 0.5428 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.3393, allocations: 16.84 kB / 0.5428 GB, free: 4.531 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3393, allocations: 0 / 0.5428 GB, free: 4.531 MB / 398.1 MB Notification: Performance of Templates: time 0.006552/0.3459, allocations: 4.46 MB / 0.5471 GB, free: 1.418 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches