Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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.001983/0.001983, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002004/0.002004, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.641/1.641, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3525/0.3525, allocations: 34.25 MB / 295.2 MB, free: 0.6289 MB / 266.7 MB " [Timeout remaining time 179] 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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 377.3 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.699e-05, allocations: 2.312 kB / 377.3 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003719/0.003746, allocations: 2.196 MB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.005552, allocations: 1.055 MB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.441e-05/0.005627, allocations: 4 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.005936, allocations: 87.34 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.006219, allocations: 91.2 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.006541, allocations: 123.5 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.006777, allocations: 186.8 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.007056, allocations: 12.59 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.007306, allocations: 107.5 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.007449, allocations: 63.75 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.007475, allocations: 4 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.007773, allocations: 131.8 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.007849, allocations: 35.72 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.007927, allocations: 47.8 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.008408, allocations: 294.7 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.008411, allocations: 4 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.008411, allocations: 4 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.008417, allocations: 0 / 381.7 MB, free: 14.41 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007456/0.009163, allocations: 0.5269 MB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.009203, allocations: 8.031 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.142e-05/0.009295, allocations: 48.69 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.009557, allocations: 164.2 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.009581, allocations: 12.88 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.009615, allocations: 24.38 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.009989, allocations: 172.7 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.01, allocations: 3.938 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.01002, allocations: 12 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.01003, allocations: 8 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.01035, allocations: 141.9 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.0114, allocations: 0.5544 MB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.01165, allocations: 91.06 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.01177, allocations: 39.77 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.0118, allocations: 4 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.01183, allocations: 41.31 kB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.01183, allocations: 7.938 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000464/0.0123, allocations: 137.5 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.01236, allocations: 51.41 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.01264, allocations: 274.6 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.01267, allocations: 33.7 kB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.01284, allocations: 226.6 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.01288, allocations: 39.69 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.01297, allocations: 51.36 kB / 384.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002804/0.01325, allocations: 0.504 MB / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.01339, allocations: 39.98 kB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.01365, allocations: 181.8 kB / 385 MB, free: 10.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.01405, allocations: 239 kB / 385.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.01405, allocations: 4 kB / 385.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004553/0.01451, allocations: 229.3 kB / 385.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.01453, allocations: 8 kB / 385.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.01453, allocations: 4 kB / 385.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.01455, allocations: 4 kB / 385.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.01495, allocations: 83.89 kB / 385.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.01624, allocations: 1.841 MB / 387.4 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.0164, allocations: 31.84 kB / 387.5 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.01643, allocations: 12 kB / 387.5 MB, free: 8.215 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_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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.0166, allocations: 172.5 kB / 387.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.01664, allocations: 19.91 kB / 387.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.01704, allocations: 151.3 kB / 387.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.01705, allocations: 4 kB / 387.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.01705, allocations: 0 / 387.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01706, allocations: 0 / 387.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008826/0.01794, allocations: 440.6 kB / 388.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.01794, allocations: 3.938 kB / 388.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.0182, allocations: 55.97 kB / 388.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01821, allocations: 0 / 388.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.01822, allocations: 4.062 kB / 388.3 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.01946, allocations: 1.841 MB / 390.2 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01946, allocations: 0 / 390.2 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.01986, allocations: 287.1 kB / 390.4 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.01989, allocations: 15.89 kB / 390.5 MB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.01992, allocations: 11.92 kB / 390.5 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.02004, allocations: 0 / 390.5 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.0201, allocations: 12.11 kB / 390.5 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.02011, allocations: 8 kB / 390.5 MB, free: 5.066 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.02027, allocations: 184.1 kB / 390.7 MB, free: 4.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02027, allocations: 0 / 390.7 MB, free: 4.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003809/0.02065, allocations: 71.83 kB / 390.7 MB, free: 4.816 MB / 362.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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003099/0.02096, allocations: 151 kB / 390.9 MB, free: 4.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005403/0.0215, allocations: 163.4 kB / 391 MB, free: 4.496 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.0215, allocations: 4.812 kB / 391 MB, free: 4.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.0218, allocations: 83.78 kB / 391.1 MB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.02209, allocations: 20.17 kB / 391.1 MB, free: 4.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/0.02293, allocations: 402.6 kB / 391.5 MB, free: 3.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.02307, allocations: 125.1 kB / 391.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.682e-05/0.02313, allocations: 9.5 kB / 391.7 MB, free: 3.805 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.02318, allocations: 20.48 kB / 391.7 MB, free: 3.785 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.02318, allocations: 0 / 391.7 MB, free: 3.785 MB / 362.7 MB Notification: Performance of Templates: time 0.007925/0.0311, allocations: 3.176 MB / 394.9 MB, free: 0.6719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.120122194988653]