Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.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.001843/0.001843, allocations: 89.27 kB / 20.05 MB, free: 1.477 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.002351/0.002351, allocations: 165.6 kB / 23.34 MB, free: 4.465 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.543/1.543, allocations: 177.1 MB / 203.7 MB, free: 9.137 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 1.02/1.02, allocations: 116 MB / 376.1 MB, free: 7.488 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.Idealized.EnergyFlow.Tests.Sum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|const.k|const.y|energyFlowSource.E_flow|energyFlowSource.E_flow_out|energyFlowSource1.E_flow|energyFlowSource1.E_flow_out|energyFlowSource2.E_flow|energyFlowSource2.E_flow_out|energyFlowSource3.E_flow|energyFlowSource3.E_flow_out|energyFlowSource4.E_flow|energyFlowSource4.E_flow_out|energyFlowSource5.E_flow|energyFlowSource5.E_flow_out|sine.amplitude|sine.continuous|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sum1.E_flow_in.1.|sum1.E_flow_in.2.|sum1.E_flow_out|sum2.E_flow_in.1.|sum2.E_flow_in.2.|sum2.E_flow_out|sum3.E_flow_in.1.|sum3.E_flow_in.2.|sum3.E_flow_out",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum") translateModel(ThermofluidStream.Idealized.EnergyFlow.Tests.Sum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|const.k|const.y|energyFlowSource.E_flow|energyFlowSource.E_flow_out|energyFlowSource1.E_flow|energyFlowSource1.E_flow_out|energyFlowSource2.E_flow|energyFlowSource2.E_flow_out|energyFlowSource3.E_flow|energyFlowSource3.E_flow_out|energyFlowSource4.E_flow|energyFlowSource4.E_flow_out|energyFlowSource5.E_flow|energyFlowSource5.E_flow_out|sine.amplitude|sine.continuous|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sum1.E_flow_in.1.|sum1.E_flow_in.2.|sum1.E_flow_out|sum2.E_flow_in.1.|sum2.E_flow_in.2.|sum2.E_flow_out|sum3.E_flow_in.1.|sum3.E_flow_in.2.|sum3.E_flow_out",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.308e-05, allocations: 6.219 kB / 0.5547 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.Sum): time 0.003201/0.003234, allocations: 1.707 MB / 0.5564 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000945/0.004179, allocations: 498.7 kB / 0.5568 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.004248, allocations: 0 / 0.5568 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.00437, allocations: 11.86 kB / 0.5568 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.004472, allocations: 31.72 kB / 0.5569 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.004727, allocations: 47.88 kB / 0.5569 GB, free: 11.43 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.004939, allocations: 135.5 kB / 0.5571 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.005086, allocations: 20 kB / 0.5571 GB, free: 11.28 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.005281, allocations: 75.8 kB / 0.5571 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.005383, allocations: 35.89 kB / 0.5572 GB, free: 11.17 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.005405, allocations: 4 kB / 0.5572 GB, free: 11.17 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.641e-05/0.005451, allocations: 8 kB / 0.5572 GB, free: 11.16 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0001667/0.005618, allocations: 146.5 kB / 0.5573 GB, free: 11.02 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001195/0.005737, allocations: 90.81 kB / 0.5574 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.005761, allocations: 12 kB / 0.5574 GB, free: 10.91 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.906e-05/0.00579, allocations: 15.86 kB / 0.5574 GB, free: 10.9 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 (19) * Number of variables: 19 (16) Notification: Performance of [SIM] Bindings: time 0.0007759/0.006566, allocations: 0.5156 MB / 0.5579 GB, free: 10.26 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001512/0.006717, allocations: 68.06 kB / 0.558 GB, free: 10.18 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003191/0.007036, allocations: 252.2 kB / 0.5583 GB, free: 9.91 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 8.49e-05/0.007121, allocations: 60.33 kB / 0.5583 GB, free: 9.824 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.0007173/0.007838, allocations: 389 kB / 0.5587 GB, free: 9.348 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 6.473e-05/0.007903, allocations: 48.42 kB / 0.5587 GB, free: 9.273 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 5.426e-05/0.007957, allocations: 48.42 kB / 0.5588 GB, free: 9.199 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0001715/0.008128, allocations: 136.9 kB / 0.5589 GB, free: 9 MB / 478.1 MB Notification: Performance of [SIM] Events: time 5.656e-05/0.008185, allocations: 24.55 kB / 0.5589 GB, free: 8.977 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002138/0.008399, allocations: 144.8 kB / 0.5591 GB, free: 8.785 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.0003309/0.00873, allocations: 192.3 kB / 0.5592 GB, free: 8.574 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001298/0.008859, allocations: 119.9 kB / 0.5594 GB, free: 8.457 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.0002588/0.009118, allocations: 162.6 kB / 0.5595 GB, free: 8.25 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.0002774/0.009396, allocations: 253 kB / 0.5598 GB, free: 7.996 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 3.49e-05/0.009431, allocations: 24.11 kB / 0.5598 GB, free: 7.965 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 5.116e-05/0.009482, allocations: 35.97 kB / 0.5598 GB, free: 7.93 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.0004056/0.009887, allocations: 276.8 kB / 0.5601 GB, free: 7.652 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 1.463e-05/0.009902, allocations: 8 kB / 0.5601 GB, free: 7.645 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 5.61e-07/0.009903, allocations: 0.8438 kB / 0.5601 GB, free: 7.645 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.767e-06/0.009906, allocations: 0 / 0.5601 GB, free: 7.645 MB / 478.1 MB Notification: Performance of [SIM] Tearing: time 7.624e-06/0.009914, allocations: 12 kB / 0.5601 GB, free: 7.633 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 8.265e-06/0.009922, allocations: 4 kB / 0.5601 GB, free: 7.629 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.0001781/0.0101, allocations: 83.89 kB / 0.5602 GB, free: 7.547 MB / 478.1 MB Notification: Performance of [SIM] Jacobian: time 9.158e-06/0.01011, allocations: 0 / 0.5602 GB, free: 7.547 MB / 478.1 MB Notification: Performance of [SIM] Minimize Homotopy System: time 2.91e-07/0.01011, allocations: 0 / 0.5602 GB, free: 7.547 MB / 478.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 19 (scalar:19, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.437e-05/0.01015, allocations: 25.52 kB / 0.5602 GB, free: 7.527 MB / 478.1 MB Notification: Performance of SimCode: time 0.0007074/0.01086, allocations: 382 kB / 0.5606 GB, free: 7.137 MB / 478.1 MB Notification: Performance of Templates: time 0.004216/0.01508, allocations: 0.7106 MB / 0.5613 GB, free: 6.43 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.sim & ./ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable CPUtime in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7945722453296185]