Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 161 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.037/1.037, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2448/0.2448, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 376.1 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.632e-05/6.844e-05, allocations: 2.312 kB / 376.1 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002899/0.002968, allocations: 2.149 MB / 378.2 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.004985, allocations: 1.666 MB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.836e-05/0.005084, allocations: 0 / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.00544, allocations: 83.34 kB / 379.9 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.005583, allocations: 75.36 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008663/0.00645, allocations: 366.6 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.006624, allocations: 154.8 kB / 380.5 MB, free: 124 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.006667, allocations: 12.59 kB / 380.5 MB, free: 112 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.868e-05/0.006756, allocations: 71.73 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.012e-05/0.006846, allocations: 47.83 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.006863, allocations: 4 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007286/0.007591, allocations: 0.5186 MB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.007662, allocations: 27.84 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.007726, allocations: 39.81 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005647/0.008291, allocations: 0.5724 MB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.008295, allocations: 0 / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.008296, allocations: 0 / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.008301, allocations: 0 / 381.8 MB, free: 14.83 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005233/0.008825, allocations: 0.5426 MB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.008866, allocations: 15.98 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.008928, allocations: 40.8 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.009084, allocations: 156.8 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.0091, allocations: 16.81 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.009123, allocations: 20.38 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.009407, allocations: 227.2 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.009418, allocations: 0 / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.009432, allocations: 4 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.009443, allocations: 11.98 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.535e-05/0.009528, allocations: 72.28 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.01025, allocations: 1.037 MB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.01035, allocations: 55.03 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.01039, allocations: 15.72 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.01041, allocations: 4 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.01044, allocations: 37.39 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.01044, allocations: 0 / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001902/0.01063, allocations: 77.59 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.01065, allocations: 55.41 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.01081, allocations: 281.6 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.01082, allocations: 25.7 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.01091, allocations: 238.5 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.01093, allocations: 27.78 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.01098, allocations: 55.36 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.0111, allocations: 0.504 MB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.01114, allocations: 24.22 kB / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.01127, allocations: 245 kB / 385.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.01145, allocations: 268.5 kB / 385.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01145, allocations: 8 kB / 385.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00021/0.01166, allocations: 217.7 kB / 386.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.01168, allocations: 8 kB / 386.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.0117, allocations: 12 kB / 386.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.01171, allocations: 8 kB / 386.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.01182, allocations: 43.91 kB / 386.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.01183, allocations: 11.94 kB / 386.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.0119, allocations: 31.97 kB / 386.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.01192, allocations: 20 kB / 386.2 MB, free: 10 MB / 362.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.378e-05/0.012, allocations: 180.4 kB / 386.4 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.01203, allocations: 11.91 kB / 386.4 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.01219, allocations: 102.7 kB / 386.5 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01219, allocations: 0 / 386.5 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.0122, allocations: 7.938 kB / 386.5 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.0122, allocations: 0 / 386.5 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.01235, allocations: 184.5 kB / 386.7 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.01236, allocations: 8 kB / 386.7 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.01238, allocations: 4 kB / 386.7 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01238, allocations: 0 / 386.7 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.01239, allocations: 8 kB / 386.7 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01239, allocations: 3.984 kB / 386.7 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01239, allocations: 0 / 386.7 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.01252, allocations: 215.8 kB / 386.9 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.01253, allocations: 11.91 kB / 386.9 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.01255, allocations: 8 kB / 386.9 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.822e-05/0.01259, allocations: 0 / 386.9 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.01263, allocations: 11.98 kB / 386.9 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.01264, allocations: 4 kB / 386.9 MB, free: 9.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.706e-05/0.01271, allocations: 171.1 kB / 387.1 MB, free: 9.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01271, allocations: 0 / 387.1 MB, free: 9.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003185/0.01303, allocations: 111.6 kB / 387.2 MB, free: 8.914 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.0003469/0.01338, allocations: 218.9 kB / 387.4 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.01363, allocations: 160.8 kB / 387.6 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01364, allocations: 0 / 387.6 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.01371, allocations: 87.64 kB / 387.7 MB, free: 8.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.01391, allocations: 22.97 kB / 387.7 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006686/0.01458, allocations: 357.7 kB / 388 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.907e-05/0.01463, allocations: 71.98 kB / 388.1 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.593e-05/0.01467, allocations: 21.47 kB / 388.1 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.0147, allocations: 12.5 kB / 388.1 MB, free: 7.898 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0147, allocations: 0 / 388.1 MB, free: 7.898 MB / 362.7 MB Notification: Performance of Templates: time 0.009125/0.02382, allocations: 6.761 MB / 394.9 MB, free: 1.195 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3489345591515303]