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_flatTube.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.000788/0.000788, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.001905, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007459/0.0007459, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009584/0.001704, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9484/0.9484, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09349/1.042, allocations: 53.65 MB / 243.3 MB, free: 15.56 MB / 250.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.2584/0.2584, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02264/0.281, allocations: 12.53 MB / 289.3 MB, free: 8.668 MB / 282.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_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 3.938 kB / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.641e-05, allocations: 3.156 kB / 290.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002697/0.002714, allocations: 2.203 MB / 292.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.004211, allocations: 1.393 MB / 294.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.004298, allocations: 0 / 294.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.004494, allocations: 79.41 kB / 294.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.004625, allocations: 75.3 kB / 294.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.004999, allocations: 211 kB / 294.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.005158, allocations: 162.8 kB / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.005203, allocations: 14.56 kB / 294.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.005382, allocations: 99.52 kB / 294.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.365e-05/0.005456, allocations: 47.78 kB / 294.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.005471, allocations: 4 kB / 294.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.005767, allocations: 215.7 kB / 295.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.139e-05/0.005809, allocations: 23.88 kB / 295.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.005852, allocations: 35.88 kB / 295.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.006198, allocations: 342.6 kB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.006213, allocations: 4 kB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006214, allocations: 0 / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.00623, allocations: 3.938 kB / 295.5 MB, free: 3.363 MB / 282.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.0004865/0.006716, allocations: 440 kB / 295.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.006747, allocations: 8.031 kB / 296 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.006787, allocations: 28.91 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.006915, allocations: 144 kB / 296.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.006929, allocations: 20.38 kB / 296.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.006945, allocations: 12.38 kB / 296.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.007127, allocations: 147.5 kB / 296.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.007136, allocations: 3.938 kB / 296.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.007146, allocations: 7.938 kB / 296.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.007154, allocations: 4 kB / 296.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.411e-05/0.007208, allocations: 57.81 kB / 296.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.007675, allocations: 376.2 kB / 296.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.944e-05/0.007765, allocations: 30.56 kB / 296.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.007786, allocations: 12.86 kB / 296.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.007821, allocations: 0 / 296.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.007851, allocations: 46.5 kB / 296.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.924e-06/0.007853, allocations: 3.984 kB / 296.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001463/0.007999, allocations: 45.73 kB / 296.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.008037, allocations: 51.41 kB / 296.9 MB, free: 1.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.008155, allocations: 195.4 kB / 297.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.00817, allocations: 29.7 kB / 297.1 MB, free: 1.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.008251, allocations: 167.9 kB / 297.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.008266, allocations: 19.83 kB / 297.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.008311, allocations: 41.64 kB / 297.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.008413, allocations: 330.8 kB / 297.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.008434, allocations: 8 kB / 297.7 MB, free: 1.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.008503, allocations: 104.8 kB / 297.8 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.00861, allocations: 139.5 kB / 297.9 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.008613, allocations: 0 / 297.9 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001176/0.008731, allocations: 133.5 kB / 298.1 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.008744, allocations: 9.812 kB / 298.1 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.008763, allocations: 15.92 kB / 298.1 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.008773, allocations: 4.188 kB / 298.1 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/0.008846, allocations: 28 kB / 298.1 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.008852, allocations: 11.92 kB / 298.1 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.008902, allocations: 19.89 kB / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.008913, allocations: 8 kB / 298.2 MB, free: 480 kB / 282.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 6.936e-05/0.008983, allocations: 124.9 kB / 298.3 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.009001, allocations: 15.86 kB / 298.3 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.009121, allocations: 82.72 kB / 298.4 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.009124, allocations: 0 / 298.4 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.009125, allocations: 0 / 298.4 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.009128, allocations: 0 / 298.4 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.009233, allocations: 105.8 kB / 298.5 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.009243, allocations: 7.984 kB / 298.5 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.009264, allocations: 4 kB / 298.5 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.009276, allocations: 11.91 kB / 298.5 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.009278, allocations: 0 / 298.5 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.009285, allocations: 7.938 kB / 298.5 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.009286, allocations: 0 / 298.5 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009286, allocations: 0 / 298.5 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.148e-05/0.009378, allocations: 143.5 kB / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.009391, allocations: 4 kB / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.588e-05/0.009427, allocations: 3.938 kB / 298.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.009457, allocations: 15.98 kB / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.009461, allocations: 0 / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.009493, allocations: 52.61 kB / 298.7 MB, free: 15.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009493, allocations: 0 / 298.7 MB, free: 15.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.009714, allocations: 83.7 kB / 298.8 MB, free: 15.77 MB / 298.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.0002395/0.009954, allocations: 169 kB / 299 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.01015, allocations: 134.6 kB / 299.1 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.01016, allocations: 7.938 kB / 299.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.285e-05/0.01023, allocations: 95.09 kB / 299.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.01039, allocations: 31.98 kB / 299.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.01197, allocations: 373.8 kB / 299.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.258e-05/0.01201, allocations: 75.83 kB / 299.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.122e-05/0.01204, allocations: 4.984 kB / 299.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.01209, allocations: 63.36 kB / 299.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01209, allocations: 0 / 299.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of Templates: time 0.005696/0.01779, allocations: 3.996 MB / 303.7 MB, free: 10.79 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9871460925787687]