Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001861/0.001861, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00232/0.00232, allocations: 212 kB / 22.24 MB, free: 5.262 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7565/0.7565, allocations: 94.62 MB / 407 MB, free: 8.852 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") [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.002544/0.002544, allocations: 96.47 kB / 0.5554 GB, free: 38.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1205, allocations: 73.04 MB / 0.6268 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.5767/0.6972, allocations: 187.2 MB / 0.8096 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01756/0.7147, allocations: 15.84 MB / 0.8251 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.716, allocations: 75.28 kB / 0.8251 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.7177, allocations: 0.5513 MB / 0.8257 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004851/0.7225, allocations: 1.788 MB / 0.8274 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004622/0.7272, allocations: 1.684 MB / 0.8291 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002379/0.7295, allocations: 1.729 MB / 0.8307 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.73, allocations: 180.2 kB / 0.8309 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.7329, allocations: 1.265 MB / 0.8322 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.734, allocations: 0.5831 MB / 0.8327 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002557/0.7342, allocations: 95.62 kB / 0.8328 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006493/0.7407, allocations: 3.324 MB / 0.8361 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004874/0.7412, allocations: 261.3 kB / 0.8363 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.7423, allocations: 0.5036 MB / 0.8368 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005801/0.7481, allocations: 2.372 MB / 0.8391 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.7481, allocations: 0 / 0.8391 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7481, allocations: 0 / 0.8391 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.005e-05/0.7482, allocations: 0 / 0.8391 GB, free: 8.734 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.004262/0.7525, allocations: 1.829 MB / 0.8409 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.7525, allocations: 10.66 kB / 0.8409 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/0.7547, allocations: 301.4 kB / 0.8412 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.7568, allocations: 0.8422 MB / 0.842 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/0.7571, allocations: 271.9 kB / 0.8423 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.7573, allocations: 95.5 kB / 0.8424 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.7594, allocations: 1.016 MB / 0.8434 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.7595, allocations: 3.984 kB / 0.8434 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.898e-05/0.7596, allocations: 36.03 kB / 0.8434 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.7596, allocations: 22.31 kB / 0.8434 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.7613, allocations: 0.7889 MB / 0.8442 GB, free: 5.324 MB / 0.5919 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.00512/0.7665, allocations: 2.618 MB / 0.8468 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.7685, allocations: 0.8165 MB / 0.8476 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008062/0.7693, allocations: 404.8 kB / 0.8479 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/0.7696, allocations: 105.5 kB / 0.848 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.7697, allocations: 44.55 kB / 0.8481 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.996e-06/0.7697, allocations: 0 / 0.8481 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005276/0.7749, allocations: 1.696 MB / 0.8497 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.775, allocations: 64.91 kB / 0.8498 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.776, allocations: 0.7344 MB / 0.8505 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.554e-05/0.7761, allocations: 44.27 kB / 0.8506 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004417/0.7766, allocations: 0.5251 MB / 0.8511 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.7769, allocations: 297.4 kB / 0.8514 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.7771, allocations: 151.6 kB / 0.8515 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7773, allocations: 332.5 kB / 0.8518 GB, free: 192 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007676/0.778, allocations: 315.2 kB / 0.8521 GB, free: 44 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008709/0.7789, allocations: 390.3 kB / 0.8525 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.7805, allocations: 0.6968 MB / 0.8532 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.7806, allocations: 3.938 kB / 0.8532 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003546/0.7841, allocations: 1.236 MB / 0.8544 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.7841, allocations: 8 kB / 0.8544 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.7841, allocations: 0.875 kB / 0.8544 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009141/0.785, allocations: 254.4 kB / 0.8546 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.786, allocations: 197 kB / 0.8548 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0066/0.7926, allocations: 4.827 MB / 0.8595 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007613/0.7934, allocations: 75.58 kB / 0.8596 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.7936, allocations: 63.97 kB / 0.8597 GB, free: 8.527 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * 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 {(3,1,88.9%), (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.0004994/0.7941, allocations: 221.5 kB / 0.8599 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.7944, allocations: 107.3 kB / 0.86 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/0.7989, allocations: 1.822 MB / 0.8618 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.7989, allocations: 8 kB / 0.8618 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.7989, allocations: 3.984 kB / 0.8618 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.799, allocations: 7.984 kB / 0.8618 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005378/0.8043, allocations: 2.152 MB / 0.8639 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.8043, allocations: 0 / 0.8639 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.8053, allocations: 199.7 kB / 0.8641 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008215/0.8062, allocations: 253.6 kB / 0.8643 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-05/0.8063, allocations: 27.98 kB / 0.8643 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006585/0.8128, allocations: 4.827 MB / 0.8691 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8128, allocations: 6.562 kB / 0.8691 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004437/0.8173, allocations: 1.721 MB / 0.8707 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000524/0.8178, allocations: 183 kB / 0.8709 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.818, allocations: 20 kB / 0.8709 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006311/0.8186, allocations: 35.97 kB / 0.871 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.8188, allocations: 87.08 kB / 0.8711 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.431e-05/0.8189, allocations: 43.98 kB / 0.8711 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007901/0.8197, allocations: 0.5077 MB / 0.8716 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8197, allocations: 0 / 0.8716 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001465/0.8211, allocations: 490.7 kB / 0.8721 GB, free: 11.47 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%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.8223, allocations: 0.5731 MB / 0.8726 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003122/0.8255, allocations: 1.206 MB / 0.8738 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8255, allocations: 0 / 0.8738 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.8274, allocations: 0.8781 MB / 0.8747 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.8287, allocations: 246.6 kB / 0.8749 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/0.8336, allocations: 2.367 MB / 0.8772 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/0.8342, allocations: 0.491 MB / 0.8777 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001421/0.8356, allocations: 0.6344 MB / 0.8783 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.836, allocations: 139.4 kB / 0.8784 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of SimCode: time 9.51e-07/0.836, allocations: 0 / 0.8784 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of Templates: time 0.03761/0.8736, allocations: 21 MB / 0.8989 GB, free: 92 kB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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: 6.9789780881255865]