Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.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.001883/0.001883, allocations: 81.3 kB / 20.05 MB, free: 1.48 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.002702/0.002702, allocations: 169 kB / 23.34 MB, free: 4.469 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.609/1.609, allocations: 177.2 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.056/1.056, allocations: 116 MB / 376.1 MB, free: 7.523 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.EnergyFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|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|gain.k|gain.u|gain.y|sine.amplitude|sine.continuous|sine.f|sine.offset|sine.phase|sine.startTime|sine.y",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource") translateModel(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|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|gain.k|gain.u|gain.y|sine.amplitude|sine.continuous|sine.f|sine.offset|sine.phase|sine.startTime|sine.y",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.424e-05, allocations: 9.031 kB / 0.5547 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.003086/0.00311, allocations: 1.612 MB / 0.5563 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009862/0.004097, allocations: 442.8 kB / 0.5567 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.494e-05/0.004181, allocations: 3.938 kB / 0.5567 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.409e-05/0.004226, allocations: 11.92 kB / 0.5567 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.539e-05/0.004301, allocations: 15.86 kB / 0.5567 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.00456, allocations: 19.97 kB / 0.5568 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.004709, allocations: 67.72 kB / 0.5568 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.004835, allocations: 11.97 kB / 0.5568 GB, free: 11.53 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.005042, allocations: 43.91 kB / 0.5569 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.998e-05/0.005102, allocations: 15.92 kB / 0.5569 GB, free: 11.47 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.005121, allocations: 8 kB / 0.5569 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.942e-05/0.00517, allocations: 7.984 kB / 0.5569 GB, free: 11.45 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0001049/0.005275, allocations: 79.11 kB / 0.557 GB, free: 11.38 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 3.827e-05/0.005313, allocations: 55.28 kB / 0.557 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.461e-05/0.005328, allocations: 7.938 kB / 0.557 GB, free: 11.31 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.699e-05/0.005345, allocations: 0 / 0.557 GB, free: 11.31 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of [SIM] Bindings: time 0.0005672/0.005912, allocations: 359.9 kB / 0.5574 GB, free: 10.84 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001483/0.00606, allocations: 60.03 kB / 0.5574 GB, free: 10.77 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.000252/0.006312, allocations: 148.3 kB / 0.5576 GB, free: 10.6 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 6.543e-05/0.006378, allocations: 44.36 kB / 0.5576 GB, free: 10.53 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.0006187/0.006997, allocations: 285.1 kB / 0.5579 GB, free: 10.17 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 5.323e-05/0.00705, allocations: 40.42 kB / 0.5579 GB, free: 10.1 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 4.818e-05/0.007098, allocations: 40.42 kB / 0.558 GB, free: 10.04 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0001698/0.007268, allocations: 105.2 kB / 0.5581 GB, free: 9.867 MB / 478.1 MB Notification: Performance of [SIM] Events: time 7.036e-05/0.007338, allocations: 19.88 kB / 0.5581 GB, free: 9.848 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001754/0.007514, allocations: 84.52 kB / 0.5582 GB, free: 9.73 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.0001587/0.007672, allocations: 76.25 kB / 0.5582 GB, free: 9.648 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 8.284e-05/0.007755, allocations: 59.95 kB / 0.5583 GB, free: 9.59 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.000195/0.00795, allocations: 108.4 kB / 0.5584 GB, free: 9.434 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.0001414/0.008092, allocations: 119.8 kB / 0.5585 GB, free: 9.312 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 2.183e-05/0.008113, allocations: 16.11 kB / 0.5585 GB, free: 9.289 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 3.949e-05/0.008153, allocations: 23.97 kB / 0.5586 GB, free: 9.266 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.0002125/0.008365, allocations: 112 kB / 0.5587 GB, free: 9.148 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 1.476e-05/0.00838, allocations: 4 kB / 0.5587 GB, free: 9.145 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 6.41e-07/0.008381, allocations: 3.938 kB / 0.5587 GB, free: 9.141 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.733e-06/0.008387, allocations: 4 kB / 0.5587 GB, free: 9.137 MB / 478.1 MB Notification: Performance of [SIM] Tearing: time 1.012e-06/0.008388, allocations: 0 / 0.5587 GB, free: 9.137 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 9.939e-06/0.008398, allocations: 4 kB / 0.5587 GB, free: 9.133 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.0001037/0.008502, allocations: 39.97 kB / 0.5587 GB, free: 9.094 MB / 478.1 MB Notification: Performance of [SIM] Jacobian: time 8.356e-06/0.00851, allocations: 0 / 0.5587 GB, free: 9.094 MB / 478.1 MB Notification: Performance of [SIM] Minimize Homotopy System: time 3.61e-07/0.008511, allocations: 0 / 0.5587 GB, free: 9.094 MB / 478.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * 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: ........... 4 (scalar:4, 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: ........... 7 (scalar:7, 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 3.791e-05/0.008549, allocations: 14.56 kB / 0.5587 GB, free: 9.086 MB / 478.1 MB Notification: Performance of SimCode: time 0.0005365/0.009085, allocations: 244.2 kB / 0.559 GB, free: 8.832 MB / 478.1 MB Notification: Performance of Templates: time 0.003233/0.01232, allocations: 436.1 kB / 0.5594 GB, free: 8.41 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.sim & ./ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.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.EnergyFlowSource_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.845722794532776]