Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001432/0.001432, allocations: 84.89 kB / 20.22 MB, free: 4.207 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.001649/0.001649, allocations: 165.6 kB / 23.53 MB, free: 0.8867 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.484/1.484, allocations: 177.1 MB / 203.9 MB, free: 5.609 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/1, allocations: 118.6 MB / 379 MB, free: 1.465 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.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_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_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/1.986e-05, allocations: 4.984 kB / 483.7 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.003274/0.003293, allocations: 1.605 MB / 485.3 MB, free: 7.172 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009617/0.004255, allocations: 463.8 kB / 485.7 MB, free: 6.863 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.004323, allocations: 0 / 485.7 MB, free: 6.863 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.004356, allocations: 12.64 kB / 485.7 MB, free: 6.855 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.911e-05/0.004425, allocations: 13.45 kB / 485.7 MB, free: 6.844 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.004663, allocations: 23.28 kB / 485.8 MB, free: 6.832 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.004805, allocations: 72.02 kB / 485.8 MB, free: 6.797 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.004918, allocations: 11.69 kB / 485.8 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.005107, allocations: 38.39 kB / 485.9 MB, free: 6.777 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.298e-05/0.00516, allocations: 13.69 kB / 485.9 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.005177, allocations: 2.844 kB / 485.9 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.002e-05/0.005227, allocations: 13.52 kB / 485.9 MB, free: 6.766 MB / 410.7 MB Notification: Performance of combineBinaries: time 9.472e-05/0.005322, allocations: 78.84 kB / 486 MB, free: 6.719 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 3.745e-05/0.005359, allocations: 55.53 kB / 486 MB, free: 6.684 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.549e-05/0.005375, allocations: 4.062 kB / 486 MB, free: 6.684 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.556e-05/0.00539, allocations: 9.438 kB / 486.1 MB, free: 6.676 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of [SIM] Bindings: time 0.0005319/0.005922, allocations: 364.4 kB / 486.4 MB, free: 6.297 MB / 410.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001275/0.00605, allocations: 41.34 kB / 486.4 MB, free: 6.262 MB / 410.7 MB Notification: Performance of [SIM] Early Inline: time 0.0002727/0.006322, allocations: 185.2 kB / 486.6 MB, free: 6.121 MB / 410.7 MB Notification: Performance of [SIM] Simplify 1: time 5.225e-05/0.006375, allocations: 55.08 kB / 486.7 MB, free: 6.055 MB / 410.7 MB Notification: Performance of [SIM] Alias: time 0.0005405/0.006915, allocations: 263.1 kB / 486.9 MB, free: 5.832 MB / 410.7 MB Notification: Performance of [SIM] Simplify 2: time 3.497e-05/0.00695, allocations: 46.62 kB / 487 MB, free: 5.77 MB / 410.7 MB Notification: Performance of [SIM] Remove Stream: time 2.5e-05/0.006975, allocations: 33.12 kB / 487 MB, free: 5.715 MB / 410.7 MB Notification: Performance of [SIM] Detect States: time 8.255e-05/0.007058, allocations: 94.62 kB / 487.1 MB, free: 5.59 MB / 410.7 MB Notification: Performance of [SIM] Events: time 7.63e-05/0.007134, allocations: 23.19 kB / 487.1 MB, free: 5.578 MB / 410.7 MB Notification: Performance of [SIM] Partitioning: time 0.0001348/0.007269, allocations: 113.8 kB / 487.2 MB, free: 5.461 MB / 410.7 MB Notification: Performance of [SIM] Causalize: time 0.0001565/0.007425, allocations: 83.06 kB / 487.3 MB, free: 5.418 MB / 410.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 8.26e-05/0.007508, allocations: 70.62 kB / 487.4 MB, free: 5.383 MB / 410.7 MB Notification: Performance of [INI] Simplify: time 0.0001524/0.00766, allocations: 120.3 kB / 487.5 MB, free: 5.254 MB / 410.7 MB Notification: Performance of [INI] Inline: time 0.0001615/0.007822, allocations: 151 kB / 487.7 MB, free: 5.172 MB / 410.7 MB Notification: Performance of [INI] Partitioning: time 1.355e-05/0.007835, allocations: 14.72 kB / 487.7 MB, free: 5.152 MB / 410.7 MB Notification: Performance of [INI] Cleanup: time 3.666e-05/0.007872, allocations: 29.94 kB / 487.7 MB, free: 5.133 MB / 410.7 MB Notification: Performance of [INI] Causalize: time 0.0002397/0.008112, allocations: 113.9 kB / 487.8 MB, free: 5.098 MB / 410.7 MB Notification: Performance of [INI] Tearing: time 1.288e-05/0.008125, allocations: 6.906 kB / 487.8 MB, free: 5.094 MB / 410.7 MB Notification: Performance of [SIM] Initialization: time 1.824e-06/0.008126, allocations: 4 kB / 487.8 MB, free: 5.09 MB / 410.7 MB Notification: Performance of [SIM] Remove Dummies: time 4.549e-06/0.008131, allocations: 2.953 kB / 487.8 MB, free: 5.09 MB / 410.7 MB Notification: Performance of [SIM] Tearing: time 2.635e-06/0.008134, allocations: 1.125 kB / 487.8 MB, free: 5.09 MB / 410.7 MB Notification: Performance of [SIM] Categorize: time 7.985e-06/0.008142, allocations: 5.078 kB / 487.8 MB, free: 5.086 MB / 410.7 MB Notification: Performance of [SIM] Solve: time 0.0001108/0.008252, allocations: 46.27 kB / 487.9 MB, free: 5.066 MB / 410.7 MB Notification: Performance of [SIM] Jacobian: time 8.696e-06/0.008261, allocations: 1.344 kB / 487.9 MB, free: 5.066 MB / 410.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 6.21e-07/0.008262, allocations: 0 / 487.9 MB, free: 5.066 MB / 410.7 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: ......... 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: ........... 5 (scalar:5, 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: ........... 8 (scalar:8, 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.579e-05/0.008298, allocations: 12.53 kB / 487.9 MB, free: 5.059 MB / 410.7 MB Notification: Performance of SimCode: time 0.000502/0.0088, allocations: 286.4 kB / 488.2 MB, free: 4.895 MB / 410.7 MB Notification: Performance of Templates: time 0.003823/0.01262, allocations: 0.5154 MB / 488.7 MB, free: 4.824 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.sim & ./ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.698517009004718]