Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.001663/0.001663, allocations: 82.02 kB / 19.76 MB, free: 2.031 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.002072/0.002072, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.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.8102/0.8102, allocations: 74.91 MB / 334.7 MB, free: 15.51 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_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") [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.002547/0.002547, allocations: 82.66 kB / 496.4 MB, free: 29.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1564, allocations: 73.03 MB / 0.5561 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.648/0.8044, allocations: 176 MB / 0.7279 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01524/0.8196, allocations: 13.68 MB / 0.7413 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.821, allocations: 66.66 kB / 0.7413 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.8225, allocations: 465.2 kB / 0.7418 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.8263, allocations: 1.37 MB / 0.7431 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004013/0.8303, allocations: 1.477 MB / 0.7445 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00162/0.8319, allocations: 1.398 MB / 0.7459 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.8323, allocations: 165.8 kB / 0.7461 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002031/0.8343, allocations: 1.143 MB / 0.7472 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.8348, allocations: 472.9 kB / 0.7476 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.8349, allocations: 80.5 kB / 0.7477 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004414/0.8394, allocations: 2.545 MB / 0.7502 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.8395, allocations: 208.5 kB / 0.7504 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003965/0.8399, allocations: 416.6 kB / 0.7508 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.8427, allocations: 1.97 MB / 0.7527 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.8427, allocations: 3.953 kB / 0.7527 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8427, allocations: 0 / 0.7527 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.8427, allocations: 3.094 kB / 0.7527 GB, free: 2.629 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002644/0.8453, allocations: 1.536 MB / 0.7542 GB, free: 17.83 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.8454, allocations: 9.781 kB / 0.7542 GB, free: 17.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.8472, allocations: 253.7 kB / 0.7545 GB, free: 17.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.8485, allocations: 0.7011 MB / 0.7552 GB, free: 17.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.8488, allocations: 267.8 kB / 0.7554 GB, free: 17.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.8489, allocations: 79.42 kB / 0.7555 GB, free: 17.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.8503, allocations: 0.822 MB / 0.7563 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.8504, allocations: 2.625 kB / 0.7563 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.8504, allocations: 28.41 kB / 0.7563 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.8504, allocations: 18.69 kB / 0.7563 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.8518, allocations: 0.6545 MB / 0.757 GB, free: 17.17 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.004045/0.8559, allocations: 1.964 MB / 0.7589 GB, free: 16.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.8573, allocations: 0.5581 MB / 0.7594 GB, free: 16.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006456/0.858, allocations: 320.1 kB / 0.7598 GB, free: 16.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.8582, allocations: 77.53 kB / 0.7598 GB, free: 16.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.8582, allocations: 44.06 kB / 0.7599 GB, free: 16.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 2.374e-06/0.8583, allocations: 0 / 0.7599 GB, free: 16.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.004765/0.863, allocations: 1.446 MB / 0.7613 GB, free: 16.42 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.8631, allocations: 59.19 kB / 0.7613 GB, free: 16.35 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.8638, allocations: 0.6265 MB / 0.7619 GB, free: 16.22 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.8639, allocations: 41.39 kB / 0.762 GB, free: 16.19 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.8642, allocations: 455.1 kB / 0.7624 GB, free: 16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.8644, allocations: 207 kB / 0.7626 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.8645, allocations: 121 kB / 0.7627 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002594/0.8648, allocations: 324.1 kB / 0.763 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/0.8655, allocations: 259 kB / 0.7633 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007275/0.8662, allocations: 308.5 kB / 0.7636 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.8675, allocations: 0.5494 MB / 0.7641 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.8675, allocations: 0 / 0.7641 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002834/0.8704, allocations: 1.027 MB / 0.7651 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.8704, allocations: 6.781 kB / 0.7651 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.8704, allocations: 2.906 kB / 0.7651 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000864/0.8713, allocations: 229.2 kB / 0.7654 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008813/0.8721, allocations: 149.8 kB / 0.7655 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/0.8783, allocations: 4.707 MB / 0.7701 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.8789, allocations: 66.06 kB / 0.7702 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/0.879, allocations: 36.88 kB / 0.7702 GB, free: 10.93 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000399/0.8794, allocations: 197.5 kB / 0.7704 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.8796, allocations: 92.66 kB / 0.7705 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/0.8832, allocations: 1.391 MB / 0.7718 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.8832, allocations: 6.938 kB / 0.7718 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8832, allocations: 5.281 kB / 0.7718 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.8832, allocations: 2.953 kB / 0.7718 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/0.8878, allocations: 1.799 MB / 0.7736 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.8878, allocations: 3.25 kB / 0.7736 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007299/0.8885, allocations: 138.3 kB / 0.7737 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007295/0.8892, allocations: 231.8 kB / 0.774 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-05/0.8893, allocations: 21.91 kB / 0.774 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00633/0.8956, allocations: 4.701 MB / 0.7786 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8956, allocations: 3.375 kB / 0.7786 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003497/0.8991, allocations: 1.396 MB / 0.7799 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.8994, allocations: 131.5 kB / 0.7801 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.8995, allocations: 21.09 kB / 0.7801 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005081/0.9001, allocations: 39.47 kB / 0.7801 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.9002, allocations: 58 kB / 0.7802 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/0.9003, allocations: 30.77 kB / 0.7802 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006993/0.901, allocations: 447.8 kB / 0.7806 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.901, allocations: 0 / 0.7806 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001289/0.9022, allocations: 415.3 kB / 0.781 GB, free: 4.137 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * 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 (50): * Single equations (assignments): 47 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/0.9033, allocations: 0.5096 MB / 0.7815 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002494/0.9058, allocations: 1.046 MB / 0.7825 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9058, allocations: 0 / 0.7825 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.9074, allocations: 0.7736 MB / 0.7833 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/0.9084, allocations: 194.8 kB / 0.7835 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.9119, allocations: 1.828 MB / 0.7853 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.9124, allocations: 408.5 kB / 0.7857 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009685/0.9133, allocations: 445 kB / 0.7861 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.9137, allocations: 108.6 kB / 0.7862 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.9137, allocations: 0 / 0.7862 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of Templates: time 0.0325/0.9462, allocations: 16.36 MB / 0.8022 GB, free: 3.789 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.99022367305588]