Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.001633/0.001633, allocations: 79.59 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001724/0.001724, allocations: 162.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.488/1.488, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.9984/0.9984, allocations: 116.1 MB / 375.2 MB, free: 7.504 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.5537 GB, free: 13.78 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.951e-05, allocations: 9.312 kB / 0.5537 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.5564/0.5564, allocations: 191.3 MB / 0.7406 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.5705, allocations: 12.52 MB / 0.7528 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.5718, allocations: 80.75 kB / 0.7529 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.5735, allocations: 0.5629 MB / 0.7534 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00578/0.5793, allocations: 1.929 MB / 0.7553 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004725/0.584, allocations: 1.721 MB / 0.757 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003077/0.5871, allocations: 1.988 MB / 0.7589 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007419/0.5878, allocations: 186.9 kB / 0.7591 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003983/0.5918, allocations: 1.611 MB / 0.7607 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008018/0.5926, allocations: 0.505 MB / 0.7612 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.5927, allocations: 92.28 kB / 0.7612 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006765/0.5995, allocations: 3.324 MB / 0.7645 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.5998, allocations: 259.9 kB / 0.7647 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006782/0.6005, allocations: 442.2 kB / 0.7652 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004783/0.6053, allocations: 2.543 MB / 0.7676 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6053, allocations: 0 / 0.7676 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6053, allocations: 0 / 0.7676 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.902e-05/0.6053, allocations: 0 / 0.7676 GB, free: 2.598 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003101/0.6084, allocations: 1.872 MB / 0.7695 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.6084, allocations: 13.17 kB / 0.7695 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.6105, allocations: 307.1 kB / 0.7698 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.6121, allocations: 0.8885 MB / 0.7706 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.6123, allocations: 296.7 kB / 0.7709 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.6125, allocations: 95.38 kB / 0.771 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.6143, allocations: 1.008 MB / 0.772 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.6143, allocations: 3.938 kB / 0.772 GB, free: 124 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.354e-05/0.6144, allocations: 43.19 kB / 0.7721 GB, free: 92 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.6144, allocations: 19.25 kB / 0.7721 GB, free: 92 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.6164, allocations: 0.8562 MB / 0.7729 GB, free: 15.91 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.6211, allocations: 2.734 MB / 0.7756 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.6231, allocations: 0.8109 MB / 0.7764 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007874/0.6239, allocations: 395.7 kB / 0.7767 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003401/0.6242, allocations: 101.3 kB / 0.7768 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.6242, allocations: 38.56 kB / 0.7769 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.146e-06/0.6243, allocations: 0 / 0.7769 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005733/0.63, allocations: 1.747 MB / 0.7786 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.63, allocations: 60.62 kB / 0.7786 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.6311, allocations: 0.7826 MB / 0.7794 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.28e-05/0.6312, allocations: 42.86 kB / 0.7794 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/0.6316, allocations: 0.5589 MB / 0.78 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.6319, allocations: 282.3 kB / 0.7803 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.6322, allocations: 156.4 kB / 0.7804 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.6323, allocations: 336.7 kB / 0.7807 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/0.633, allocations: 303.5 kB / 0.781 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008474/0.6339, allocations: 381.9 kB / 0.7814 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.6354, allocations: 0.6859 MB / 0.7821 GB, free: 10 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6354, allocations: 0 / 0.7821 GB, free: 10 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00304/0.6385, allocations: 1.169 MB / 0.7832 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.6385, allocations: 5.594 kB / 0.7832 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.6385, allocations: 2.906 kB / 0.7832 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00087/0.6394, allocations: 230.4 kB / 0.7834 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/0.6401, allocations: 182.8 kB / 0.7836 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006554/0.6467, allocations: 4.834 MB / 0.7883 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009261/0.6476, allocations: 78.08 kB / 0.7884 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.6477, allocations: 59.31 kB / 0.7885 GB, free: 4.855 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005302/0.6482, allocations: 228.8 kB / 0.7887 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.6485, allocations: 125 kB / 0.7888 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/0.6526, allocations: 1.722 MB / 0.7905 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.6526, allocations: 8 kB / 0.7905 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.6526, allocations: 11.92 kB / 0.7905 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.6526, allocations: 3.984 kB / 0.7905 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005124/0.6577, allocations: 2.027 MB / 0.7925 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.6577, allocations: 4.156 kB / 0.7925 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008019/0.6585, allocations: 162.2 kB / 0.7926 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008434/0.6594, allocations: 230.3 kB / 0.7929 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-05/0.6595, allocations: 39.92 kB / 0.7929 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006544/0.666, allocations: 4.787 MB / 0.7976 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.666, allocations: 4.281 kB / 0.7976 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004388/0.6704, allocations: 1.666 MB / 0.7992 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005687/0.671, allocations: 179.1 kB / 0.7994 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.6711, allocations: 23.94 kB / 0.7994 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006078/0.6718, allocations: 39.97 kB / 0.7994 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.6719, allocations: 79.7 kB / 0.7995 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.672, allocations: 47.98 kB / 0.7995 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008462/0.6729, allocations: 0.5369 MB / 0.8001 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.6729, allocations: 4 kB / 0.8001 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001713/0.6746, allocations: 0.5026 MB / 0.8006 GB, free: 8.988 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/0.6759, allocations: 0.5861 MB / 0.8011 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003024/0.6789, allocations: 1.177 MB / 0.8023 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.6789, allocations: 0 / 0.8023 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.6805, allocations: 0.8162 MB / 0.8031 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.6825, allocations: 358.7 kB / 0.8034 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004942/0.6874, allocations: 2.243 MB / 0.8056 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.688, allocations: 0.5003 MB / 0.8061 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001534/0.6895, allocations: 0.6288 MB / 0.8067 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.69, allocations: 152.3 kB / 0.8069 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of SimCode: time 1.913e-06/0.69, allocations: 0 / 0.8069 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of Templates: time 0.04054/0.7305, allocations: 21.95 MB / 0.8283 GB, free: 12.93 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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: 7.171803284436464]