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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009005/0.0009005, allocations: 82.59 kB / 21.43 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009399/0.0009399, allocations: 165.6 kB / 24.82 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.888/0.888, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2559/0.2559, allocations: 34.87 MB / 296.6 MB, free: 0.5 MB / 266.7 MB " [Timeout remaining time 180] 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=5003,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|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=5003,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 379.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.146e-05, allocations: 7.016 kB / 379.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002367/0.002388, allocations: 2.148 MB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.003726, allocations: 1.351 MB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.003801, allocations: 0 / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.004046, allocations: 83.41 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.00418, allocations: 71.36 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.004589, allocations: 226.9 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.00472, allocations: 154.8 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.004769, allocations: 12.59 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.004937, allocations: 83.66 kB / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.005003, allocations: 43.84 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.005017, allocations: 4 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.005276, allocations: 207.7 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.005321, allocations: 23.8 kB / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.005361, allocations: 43.8 kB / 383.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.005715, allocations: 378.5 kB / 384.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005717, allocations: 4 kB / 384.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005718, allocations: 0 / 384.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.005722, allocations: 0 / 384.1 MB, free: 12.96 MB / 362.7 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.0003997/0.006121, allocations: 0.515 MB / 384.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.462e-05/0.006156, allocations: 16.02 kB / 384.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.006199, allocations: 36.8 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.006321, allocations: 157.8 kB / 384.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.006334, allocations: 16.38 kB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.00635, allocations: 20.31 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.006519, allocations: 136 kB / 385 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.006528, allocations: 11.88 kB / 385 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.006538, allocations: 8 kB / 385 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.006546, allocations: 4 kB / 385 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.067e-05/0.006596, allocations: 52.34 kB / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.007082, allocations: 482.6 kB / 385.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.437e-05/0.007167, allocations: 47.03 kB / 385.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.007188, allocations: 11.69 kB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.007217, allocations: 7.938 kB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.007248, allocations: 41.27 kB / 385.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.007249, allocations: 0 / 385.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001754/0.007424, allocations: 73.7 kB / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.007458, allocations: 55.41 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.007595, allocations: 254 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.007609, allocations: 25.7 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.996e-05/0.007709, allocations: 230.6 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.007723, allocations: 15.91 kB / 386.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.007773, allocations: 51.3 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.007921, allocations: 0.4962 MB / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.82e-05/0.00795, allocations: 15.98 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.569e-05/0.008045, allocations: 151.2 kB / 387 MB, free: 9.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.008185, allocations: 183.1 kB / 387.1 MB, free: 9.562 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.008189, allocations: 0 / 387.1 MB, free: 9.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001703/0.008359, allocations: 153.4 kB / 387.3 MB, free: 9.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.008373, allocations: 8.375 kB / 387.3 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/0.0084, allocations: 31.97 kB / 387.3 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.008413, allocations: 4 kB / 387.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.008499, allocations: 27.98 kB / 387.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.008506, allocations: 7.938 kB / 387.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.315e-05/0.008559, allocations: 19.83 kB / 387.4 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.008576, allocations: 12 kB / 387.4 MB, free: 9.297 MB / 362.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_1.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 (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 9.167e-05/0.008667, allocations: 164.5 kB / 387.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.00869, allocations: 19.84 kB / 387.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.008849, allocations: 94.75 kB / 387.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.008852, allocations: 0 / 387.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.008853, allocations: 3.938 kB / 387.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.008858, allocations: 4.141 kB / 387.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.008988, allocations: 145.1 kB / 387.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.009, allocations: 12 kB / 387.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/0.009022, allocations: 7.984 kB / 387.8 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.009026, allocations: 4 kB / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.009032, allocations: 4 kB / 387.9 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.009034, allocations: 7.922 kB / 387.9 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.009036, allocations: 0 / 387.9 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.009156, allocations: 215.8 kB / 388.1 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.009167, allocations: 7.953 kB / 388.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.009178, allocations: 0 / 388.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.009215, allocations: 3.938 kB / 388.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.009248, allocations: 11.98 kB / 388.1 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.009254, allocations: 4 kB / 388.1 MB, free: 8.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.714e-05/0.009321, allocations: 164.4 kB / 388.3 MB, free: 8.383 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009321, allocations: 4 kB / 388.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.009574, allocations: 91.64 kB / 388.4 MB, free: 8.289 MB / 362.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 (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.0002208/0.009795, allocations: 163.1 kB / 388.5 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.009984, allocations: 144.3 kB / 388.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.009986, allocations: 3.938 kB / 388.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/0.01005, allocations: 87.62 kB / 388.7 MB, free: 7.855 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.01024, allocations: 16 kB / 388.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006168/0.01086, allocations: 353.4 kB / 389.1 MB, free: 7.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.211e-05/0.0109, allocations: 75.81 kB / 389.2 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.03e-05/0.01093, allocations: 8.984 kB / 389.2 MB, free: 7.363 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.01099, allocations: 82.19 kB / 389.3 MB, free: 7.281 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01099, allocations: 0 / 389.3 MB, free: 7.281 MB / 362.7 MB Notification: Performance of Templates: time 0.005644/0.01663, allocations: 4.013 MB / 393.3 MB, free: 3.316 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.89511412428692]