Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.IAwithPCtoTC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ExtTest.IAwithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.IAwithPCtoTC") translateModel(PNlib.Examples.ExtTest.IAwithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.IAwithPCtoTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 106.9 kB / 16.42 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 187.2 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.06961/0.06961, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.124e-05, allocations: 2.281 kB / 426.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.IAwithPCtoTC): time 0.003425/0.003455, allocations: 4.036 MB / 431 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004744/0.00821, allocations: 3.129 MB / 434.1 MB, free: 3.367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007145/0.00894, allocations: 27.88 kB / 434.1 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.009524, allocations: 353.2 kB / 434.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007361/0.01031, allocations: 353.2 kB / 434.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.01279, allocations: 1.454 MB / 436.3 MB, free: 1.191 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00446/0.01726, allocations: 4.572 MB / 440.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008975/0.01818, allocations: 0.6966 MB / 441.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.02044, allocations: 1.737 MB / 443.3 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.02187, allocations: 1.276 MB / 444.6 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003889/0.02227, allocations: 288 kB / 444.8 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.02345, allocations: 0.6986 MB / 445.5 MB, free: 7.871 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.002301/0.02576, allocations: 3.437 MB / 449 MB, free: 4.398 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001058/0.02682, allocations: 1.932 MB / 450.9 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000548/0.02738, allocations: 422.8 kB / 451.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003816/0.02777, allocations: 254.4 kB / 451.6 MB, free: 1.773 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: 644 (479) * Number of variables: 644 (564) Notification: Performance of Bindings: time 0.0107/0.03848, allocations: 10.88 MB / 462.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.001062/0.03955, allocations: 0.9865 MB / 463.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of Early Inline: time 0.01232/0.05189, allocations: 10.66 MB / 474.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simplify1: time 0.0004777/0.0524, allocations: 335.5 kB / 474.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Alias: time 0.009381/0.06179, allocations: 7.93 MB / 482.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simplify2: time 0.0003856/0.0622, allocations: 292 kB / 482.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of Events: time 0.003394/0.0656, allocations: 3.219 MB / 485.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of Detect States: time 0.0035/0.06911, allocations: 3.783 MB / 489.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Partitioning: time 0.004088/0.07321, allocations: 3.456 MB / 493.1 MB, free: 6.98 MB / 366.1 MB Error: Internal error NBSlice.resolveDependency failed for: $FUN_4. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [TUPL] (2) ($FUN_4, $FUN_5) = PNlib.Functions.decreasingFactor(0, 2, P1.t_, P1.minMarks, P1.maxMarks, 0.0, P1.firingSumOut.conFiringSum, {}, P1.maxSpeedOut, {}, P1.prelimSpeedOut, {}, P1.arcWeightOut, {}, $SEV_189) ($RES_$AUX_576)