Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.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.001602/0.001602, allocations: 100.4 kB / 20.55 MB, free: 1.113 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.001761/0.001761, allocations: 216.6 kB / 23.86 MB, free: 4.309 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.451/1.451, allocations: 230.6 MB / 257.6 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.0613/0.0613, allocations: 12.24 MB / 326.3 MB, free: 7.023 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/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(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest") translateModel(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.522e-05, allocations: 2.281 kB / 454.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.004965/0.00499, allocations: 2.486 MB / 457.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.005976, allocations: 418.5 kB / 457.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.006097, allocations: 3.938 kB / 457.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.006345, allocations: 35.73 kB / 457.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.00651, allocations: 23.78 kB / 457.6 MB, free: 5.414 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.006942, allocations: 99.7 kB / 457.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.007251, allocations: 155.7 kB / 457.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.007448, allocations: 38.89 kB / 457.8 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.007589, allocations: 67.75 kB / 457.9 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.007753, allocations: 71.62 kB / 458 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.007794, allocations: 19.94 kB / 458 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.007969, allocations: 63.97 kB / 458.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002761/0.008245, allocations: 300.9 kB / 458.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001459/0.008391, allocations: 185.5 kB / 458.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.008427, allocations: 8 kB / 458.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.877e-05/0.008476, allocations: 15.86 kB / 458.6 MB, free: 4.402 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 (35) * Number of variables: 36 (32) Notification: Performance of [SIM] Bindings: time 0.00112/0.009596, allocations: 0.7754 MB / 459.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002786/0.009875, allocations: 146.7 kB / 459.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006086/0.01048, allocations: 498.5 kB / 460 MB, free: 2.82 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001995/0.01068, allocations: 117.9 kB / 460.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.001197/0.01188, allocations: 0.633 MB / 460.7 MB, free: 1.922 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000181/0.01206, allocations: 101.9 kB / 460.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001159/0.01218, allocations: 80.31 kB / 460.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0004468/0.01262, allocations: 215.3 kB / 461.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of [SIM] Events: time 9.718e-05/0.01272, allocations: 27.84 kB / 461.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.000385/0.01311, allocations: 232.3 kB / 461.4 MB, free: 1.113 MB / 318.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because there was not enough state candidates to balance out the constraint equations. Constraint Equations (1/1) **************************** (1) [RECD] (1) packager.pkgOut.pkg = addReal.pkgIn.pkg ($RES_SIM_25) State Candidate Variables (0/0) ********************************* " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6511327939806506] Failed to read output from testmodel.py, exit status != 0: 0.02200342499418184 0.038163436 0.026549146000000003 Calling exit ...