Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001423/0.001423, allocations: 88.88 kB / 20.22 MB, free: 4.184 MB / 18.57 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.001531/0.001531, allocations: 173.6 kB / 23.54 MB, free: 0.8633 MB / 18.57 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.453/1.453, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.005/1.005, allocations: 118.6 MB / 379 MB, free: 1.484 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.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_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_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.562e-05, allocations: 5.406 kB / 483.7 MB, free: 8.316 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.Sum): time 0.002181/0.002196, allocations: 1.698 MB / 485.4 MB, free: 7.148 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007391/0.002935, allocations: 0.4901 MB / 485.9 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.002996, allocations: 2.031 kB / 485.9 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.478e-05/0.003091, allocations: 14.53 kB / 485.9 MB, free: 6.809 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.8e-05/0.003169, allocations: 32.12 kB / 485.9 MB, free: 6.785 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.003385, allocations: 39.83 kB / 485.9 MB, free: 6.766 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.003544, allocations: 134.5 kB / 486.1 MB, free: 6.703 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.003669, allocations: 31.86 kB / 486.1 MB, free: 6.688 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.003824, allocations: 70.81 kB / 486.2 MB, free: 6.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.003897, allocations: 33.77 kB / 486.2 MB, free: 6.648 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.00392, allocations: 6.375 kB / 486.2 MB, free: 6.648 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.624e-05/0.003966, allocations: 7.625 kB / 486.2 MB, free: 6.648 MB / 410.7 MB Notification: Performance of combineBinaries: time 0.0001162/0.004082, allocations: 148.3 kB / 486.4 MB, free: 6.559 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 4.689e-05/0.004129, allocations: 94.09 kB / 486.5 MB, free: 6.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.00415, allocations: 12.28 kB / 486.5 MB, free: 6.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.972e-05/0.004169, allocations: 10.88 kB / 486.5 MB, free: 6.488 MB / 410.7 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.0004935/0.004663, allocations: 0.5146 MB / 487 MB, free: 6.02 MB / 410.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001084/0.004771, allocations: 75.31 kB / 487.1 MB, free: 5.961 MB / 410.7 MB Notification: Performance of [SIM] Early Inline: time 0.0002637/0.005035, allocations: 298.5 kB / 487.4 MB, free: 5.758 MB / 410.7 MB Notification: Performance of [SIM] Simplify 1: time 4.625e-05/0.005081, allocations: 59.34 kB / 487.4 MB, free: 5.691 MB / 410.7 MB Notification: Performance of [SIM] Alias: time 0.0004818/0.005563, allocations: 388.6 kB / 487.8 MB, free: 5.383 MB / 410.7 MB Notification: Performance of [SIM] Simplify 2: time 3.423e-05/0.005597, allocations: 45.3 kB / 487.8 MB, free: 5.324 MB / 410.7 MB Notification: Performance of [SIM] Remove Stream: time 2.645e-05/0.005624, allocations: 42.78 kB / 487.9 MB, free: 5.266 MB / 410.7 MB Notification: Performance of [SIM] Detect States: time 7.841e-05/0.005702, allocations: 110.6 kB / 488 MB, free: 5.133 MB / 410.7 MB Notification: Performance of [SIM] Events: time 6.464e-05/0.005767, allocations: 41.36 kB / 488 MB, free: 5.109 MB / 410.7 MB Notification: Performance of [SIM] Partitioning: time 0.0001403/0.005907, allocations: 167.3 kB / 488.2 MB, free: 4.949 MB / 410.7 MB Notification: Performance of [SIM] Causalize: time 0.0002418/0.006149, allocations: 200.8 kB / 488.4 MB, free: 4.855 MB / 410.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001006/0.00625, allocations: 143 kB / 488.5 MB, free: 4.777 MB / 410.7 MB Notification: Performance of [INI] Simplify: time 0.0001719/0.006421, allocations: 174.8 kB / 488.7 MB, free: 4.625 MB / 410.7 MB Notification: Performance of [INI] Inline: time 0.0002104/0.006632, allocations: 309.5 kB / 489 MB, free: 4.449 MB / 410.7 MB Notification: Performance of [INI] Partitioning: time 1.437e-05/0.006646, allocations: 13.16 kB / 489 MB, free: 4.434 MB / 410.7 MB Notification: Performance of [INI] Cleanup: time 3.874e-05/0.006685, allocations: 44.38 kB / 489.1 MB, free: 4.406 MB / 410.7 MB Notification: Performance of [INI] Causalize: time 0.0003033/0.006988, allocations: 262.5 kB / 489.3 MB, free: 4.336 MB / 410.7 MB Notification: Performance of [INI] Tearing: time 1.057e-05/0.006999, allocations: 6.344 kB / 489.3 MB, free: 4.332 MB / 410.7 MB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.006999, allocations: 0 / 489.3 MB, free: 4.332 MB / 410.7 MB Notification: Performance of [SIM] Remove Dummies: time 3.958e-06/0.007003, allocations: 1.25 kB / 489.3 MB, free: 4.332 MB / 410.7 MB Notification: Performance of [SIM] Tearing: time 4.218e-06/0.007007, allocations: 19.62 kB / 489.3 MB, free: 4.316 MB / 410.7 MB Notification: Performance of [SIM] Categorize: time 5.971e-06/0.007013, allocations: 0 / 489.3 MB, free: 4.316 MB / 410.7 MB Notification: Performance of [SIM] Solve: time 0.0001476/0.007161, allocations: 86.42 kB / 489.4 MB, free: 4.285 MB / 410.7 MB Notification: Performance of [SIM] Jacobian: time 7.995e-06/0.007169, allocations: 1.25 kB / 489.4 MB, free: 4.285 MB / 410.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 3.81e-07/0.007169, allocations: 0 / 489.4 MB, free: 4.285 MB / 410.7 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: ......... 2 * 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: ................. 2 (2) {$SEV_0, $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: ........... 13 (scalar:13, 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: ........... 20 (scalar:20, 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 2.892e-05/0.007198, allocations: 31.19 kB / 489.5 MB, free: 4.262 MB / 410.7 MB Notification: Performance of SimCode: time 0.0005094/0.007708, allocations: 442 kB / 489.9 MB, free: 4.023 MB / 410.7 MB Notification: Performance of Templates: time 0.003263/0.01097, allocations: 0.8129 MB / 490.7 MB, free: 3.922 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.sim & ./ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.Sum_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.587667886997224]