Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.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.00149/0.00149, allocations: 104.3 kB / 20.56 MB, free: 1.262 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.001726/0.001726, allocations: 225.4 kB / 23.86 MB, free: 4.418 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.544/1.544, allocations: 230.7 MB / 257.7 MB, free: 7.715 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.06466/0.06466, allocations: 12.23 MB / 326.3 MB, free: 6.996 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.Blocks.Examples.TestSerialPackager_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.686e-05, allocations: 2.281 kB / 454.6 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.00635/0.006377, allocations: 3.755 MB / 458.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.008759, allocations: 1.203 MB / 459.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.008973, allocations: 31.69 kB / 459.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004669/0.00944, allocations: 150.6 kB / 459.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.009698, allocations: 91.11 kB / 459.8 MB, free: 3.078 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:885:7-893:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.startChipDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.startChip'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:895:7-910:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.readRcvDataDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.readRcvData'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:912:7-928:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.writeObjectDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.writeObject'. [/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'. Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.01081, allocations: 458.9 kB / 460.3 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009706/0.01178, allocations: 0.909 MB / 461.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000492/0.01227, allocations: 249 kB / 461.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.0127, allocations: 406.7 kB / 461.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005566/0.01326, allocations: 402 kB / 462.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.01339, allocations: 84 kB / 462.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004368/0.01382, allocations: 215.9 kB / 462.5 MB, free: 376 kB / 318.1 MB Notification: Performance of combineBinaries: time 0.001373/0.0152, allocations: 1.562 MB / 464.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007593/0.01596, allocations: 1.026 MB / 465.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.935e-05/0.01606, allocations: 48 kB / 465.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001441/0.0162, allocations: 67.31 kB / 465.2 MB, free: 13.63 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 (193) * Number of variables: 188 (181) Notification: Performance of [SIM] Bindings: time 0.004174/0.02037, allocations: 3.698 MB / 468.9 MB, free: 9.746 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001059/0.02143, allocations: 0.8961 MB / 469.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.002702/0.02413, allocations: 2.546 MB / 472.4 MB, free: 6.09 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007516/0.02489, allocations: 410.9 kB / 472.8 MB, free: 5.613 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.003208/0.02809, allocations: 2.243 MB / 475 MB, free: 3.156 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005823/0.02868, allocations: 358.4 kB / 475.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000356/0.02903, allocations: 277.4 kB / 475.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001268/0.0303, allocations: 0.9036 MB / 476.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0001226/0.03042, allocations: 55.84 kB / 476.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001693/0.03212, allocations: 1.341 MB / 477.9 MB, free: 15.82 MB / 350.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) unpackInt2.pkgOut[1].pkg = unpackInt3.pkgIn.pkg ($RES_SIM_177) State Candidate Variables (0/0) ********************************* " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6355132660246454] Failed to read output from testmodel.py, exit status != 0: 0.043193507997784764 0.05817731600000001 0.038617728000000004 Calling exit ...