Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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.001578/0.001578, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001813/0.001813, allocations: 219.4 kB / 22.99 MB, free: 4.914 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.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.7684/0.7684, allocations: 100.9 MB / 414.1 MB, free: 2.891 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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_parallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 92.08 kB / 0.5653 GB, free: 35.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1227, allocations: 74.61 MB / 0.6382 GB, free: 5.992 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6357/0.7584, allocations: 271.4 MB / 0.9032 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04791/0.8063, allocations: 34.57 MB / 0.937 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/0.8091, allocations: 154.6 kB / 0.9371 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004526/0.8136, allocations: 1.237 MB / 0.9383 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.8242, allocations: 3.435 MB / 0.9417 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.009607/0.8338, allocations: 3.44 MB / 0.9451 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005758/0.8396, allocations: 3.819 MB / 0.9488 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.8406, allocations: 0.4907 MB / 0.9493 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004443/0.845, allocations: 2.469 MB / 0.9517 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.847, allocations: 1.348 MB / 0.953 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003726/0.8474, allocations: 228 kB / 0.9532 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01213/0.8595, allocations: 6.487 MB / 0.9595 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0008038/0.8603, allocations: 0.5758 MB / 0.9601 GB, free: 96 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.8619, allocations: 1.143 MB / 0.9612 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.872, allocations: 5.013 MB / 0.9661 GB, free: 9.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.872, allocations: 0 / 0.9661 GB, free: 9.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.872, allocations: 0 / 0.9661 GB, free: 9.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.011e-05/0.8721, allocations: 3.938 kB / 0.9661 GB, free: 9.91 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.007689/0.8798, allocations: 3.681 MB / 0.9697 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.8798, allocations: 9.469 kB / 0.9697 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004387/0.8842, allocations: 0.6418 MB / 0.9704 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003643/0.8878, allocations: 1.69 MB / 0.972 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005897/0.8884, allocations: 0.6009 MB / 0.9726 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003967/0.8888, allocations: 219.9 kB / 0.9728 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004569/0.8934, allocations: 2.276 MB / 0.975 GB, free: 464 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.8934, allocations: 7.938 kB / 0.975 GB, free: 456 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.8936, allocations: 83.94 kB / 0.9751 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.719e-05/0.8937, allocations: 76.05 kB / 0.9752 GB, free: 292 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004366/0.8981, allocations: 1.961 MB / 0.9771 GB, free: 14.31 MB / 0.7325 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.01035/0.9084, allocations: 5.36 MB / 0.9823 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004368/0.9128, allocations: 1.843 MB / 0.9841 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/0.9149, allocations: 0.9597 MB / 0.9851 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006906/0.9156, allocations: 213.8 kB / 0.9853 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.9156, allocations: 56.55 kB / 0.9853 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=174): time 4.047e-06/0.9156, allocations: 0 / 0.9853 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of matching and sorting (n=176): time 0.01729/0.9329, allocations: 6.062 MB / 0.9913 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.933, allocations: 69.41 kB / 0.9913 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.9351, allocations: 1.417 MB / 0.9927 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.9353, allocations: 53.7 kB / 0.9928 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008737/0.9361, allocations: 1.092 MB / 0.9938 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006503/0.9368, allocations: 0.6235 MB / 0.9944 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005348/0.9373, allocations: 323.5 kB / 0.9947 GB, free: 12 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.9375, allocations: 305.1 kB / 0.995 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.939, allocations: 0.6559 MB / 0.9957 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.9408, allocations: 0.8176 MB / 0.9965 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003336/0.9441, allocations: 1.519 MB / 0.9979 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.9441, allocations: 7.984 kB / 0.998 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006429/0.9506, allocations: 2.542 MB / 1 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.9506, allocations: 4 kB / 1 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.9506, allocations: 4 kB / 1 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.9524, allocations: 0.5378 MB / 1.001 GB, free: 5.523 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.954, allocations: 363.5 kB / 1.001 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.9673, allocations: 9.333 MB / 1.01 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.9689, allocations: 87.98 kB / 1.011 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/0.9691, allocations: 124 kB / 1.011 GB, free: 11.12 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (168): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,2,100.0%), (2,17,100.0%), (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.0008544/0.97, allocations: 379 kB / 1.011 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000517/0.9705, allocations: 234.5 kB / 1.011 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008496/0.979, allocations: 3.873 MB / 1.015 GB, free: 6.621 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.979, allocations: 20 kB / 1.015 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.077e-05/0.979, allocations: 11.94 kB / 1.015 GB, free: 6.59 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/0.979, allocations: 7.969 kB / 1.015 GB, free: 6.582 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.9892, allocations: 4.405 MB / 1.019 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.9892, allocations: 4.219 kB / 1.019 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/0.9908, allocations: 359.5 kB / 1.02 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/0.9925, allocations: 0.5426 MB / 1.02 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/0.9927, allocations: 71.95 kB / 1.02 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/1.006, allocations: 9.316 MB / 1.029 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.006, allocations: 0 / 1.029 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008646/1.014, allocations: 3.645 MB / 1.033 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.015, allocations: 354.3 kB / 1.033 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/1.016, allocations: 40.05 kB / 1.033 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/1.017, allocations: 87.91 kB / 1.033 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/1.017, allocations: 169.6 kB / 1.034 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002159/1.018, allocations: 112 kB / 1.034 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001404/1.019, allocations: 0.9496 MB / 1.035 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of sort global known variables: time 7e-08/1.019, allocations: 0 / 1.035 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002497/1.021, allocations: 0.8893 MB / 1.035 GB, free: 0.9727 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001959/1.023, allocations: 1.03 MB / 1.036 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005179/1.029, allocations: 2.461 MB / 1.039 GB, free: 13.43 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.029, allocations: 0 / 1.039 GB, free: 13.43 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003228/1.032, allocations: 1.721 MB / 1.041 GB, free: 11.64 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/1.034, allocations: 0.5328 MB / 1.041 GB, free: 11.13 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009193/1.043, allocations: 4.995 MB / 1.046 GB, free: 6.066 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/1.044, allocations: 1.018 MB / 1.047 GB, free: 5.016 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/1.046, allocations: 395.1 kB / 1.047 GB, free: 4.629 MB / 0.795 GB Notification: Performance of SimCode: time 8.12e-07/1.046, allocations: 0 / 1.047 GB, free: 4.629 MB / 0.795 GB Notification: Performance of Templates: time 0.3331/1.379, allocations: 89.42 MB / 1.135 GB, free: 257.3 MB / 0.795 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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: 15.753158362116665]