Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC.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.001494/0.001494, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001925/0.001925, allocations: 219.2 kB / 23.07 MB, free: 4.844 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.555/1.555, allocations: 230.7 MB / 256.9 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08436/0.08436, allocations: 16.95 MB / 330.2 MB, free: 2.008 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 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(PNlib.Examples.ExtTest.TAwithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.TAwithPCtoTC") translateModel(PNlib.Examples.ExtTest.TAwithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.TAwithPCtoTC") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.259e-05, allocations: 4.25 kB / 461 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TAwithPCtoTC): time 0.005821/0.005854, allocations: 3.557 MB / 464.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00708/0.01293, allocations: 3.088 MB / 467.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.01412, allocations: 23.88 kB / 467.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008739/0.015, allocations: 373 kB / 468 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.01618, allocations: 437.2 kB / 468.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003894/0.02008, allocations: 1.543 MB / 470 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006601/0.02668, allocations: 4.397 MB / 474.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007716/0.02745, allocations: 282.7 kB / 474.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003118/0.03057, allocations: 1.784 MB / 476.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.03317, allocations: 1.396 MB / 477.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006065/0.03378, allocations: 284 kB / 478.1 MB, free: 408 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.03548, allocations: 0.792 MB / 478.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.004113/0.03959, allocations: 4.348 MB / 483.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002344/0.04194, allocations: 2.437 MB / 485.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.04304, allocations: 220 kB / 485.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0006368/0.04367, allocations: 246.3 kB / 486.2 MB, free: 8.293 MB / 350.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 [SIM] Bindings: time 0.01437/0.05804, allocations: 10.82 MB / 497 MB, free: 13.15 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002491/0.06053, allocations: 1.505 MB / 498.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01469/0.07523, allocations: 10.98 MB / 0.4975 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004334/0.07956, allocations: 1.969 MB / 0.4995 GB, free: 14.41 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.01752/0.09708, allocations: 10.31 MB / 0.5095 GB, free: 2.906 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003155/0.1002, allocations: 1.72 MB / 0.5112 GB, free: 1.07 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.2915/0.3918, allocations: 1.348 MB / 0.5125 GB, free: 49 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.005199/0.397, allocations: 2.66 MB / 0.5151 GB, free: 48.56 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.003166/0.4001, allocations: 1.999 MB / 0.5171 GB, free: 48.17 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.007618/0.4078, allocations: 4.42 MB / 0.5214 GB, free: 47.74 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01909/0.4269, allocations: 11.76 MB / 0.5329 GB, free: 46.57 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01029/0.4372, allocations: 9.441 MB / 0.5421 GB, free: 41.82 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.006766/0.4439, allocations: 3.718 MB / 0.5457 GB, free: 39.86 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01375/0.4577, allocations: 15.13 MB / 0.5605 GB, free: 26.84 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0006092/0.4583, allocations: 173.8 kB / 0.5607 GB, free: 26.63 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.002861/0.4611, allocations: 2.202 MB / 0.5628 GB, free: 24.47 MB / 382.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $SEV_10 = $PRE.P3.disMarksOut.anytrue or $PRE.P3.disMarksIn.anytrue ($RES_EVT_669); [SCAL] (1) $SEV_6 = $PRE.P2.disMarksOut.anytrue or $PRE.P2.disMarksIn.anytrue ($RES_EVT_665); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_4 [DISC] (1) Boolean $SEV_33 [DISC] (1) Boolean $SEV_34 [DISC] (1) Boolean $SEV_35 [DISC] (1) Boolean $SEV_36 [DISC] (1) Boolean $SEV_37 [DISC] (1) Boolean $SEV_43 [DISC] (1) Boolean[1] $SEV_44 [DISC] (1) Boolean $SEV_45 [DISC] (1) Boolean $SEV_50 [DISC] (1) Boolean $SEV_51 [DISC] (1) Boolean[1] T1.outPlaces.enable [DISC] (1) protected Integer P3.enableOut.Index [DISC] (1) protected Boolean P3.enableOut.endWhile [DISC] (1) protected discrete Real P3.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P3.enableOut.posTE [DISC] (1) protected Integer P3.enableOut.k [DISC] (1) protected Integer P3.enableOut.nTAout [DISC] (1) protected Integer P3.enableOut.nremTAout [DISC] (1) protected discrete Real P3.enableOut.arcWeightSum [DISC] (1) protected discrete Real P3.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P3.enableIn.nTAin [DISC] (1) Boolean[1] P3.inTransition.enable = {P3.enableIn.TEin_[1]} [DISC] (1) protected Integer P2.enableOut.Index [DISC] (1) protected Boolean P2.enableOut.endWhile [DISC] (1) protected discrete Real P2.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P2.enableOut.posTE [DISC] (1) protected Integer P2.enableOut.k [DISC] (1) protected Integer P2.enableOut.nTAout [DISC] (1) protected Integer P2.enableOut.nremTAout [DISC] (1) protected discrete Real P2.enableOut.arcWeightSum [DISC] (1) protected Integer P2.enableIn.nTAin [DISC] (1) protected Boolean[1] P2.enableIn.TEin [DISC] (1) protected Integer P1.enableOut.Index [DISC] (1) protected Integer P1.enableOut.k [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected discrete Real P1.enableOut.arcWeightSum [DISC] (1) protected Integer P1.enableIn.Index [DISC] (1) protected Boolean P1.enableIn.endWhile [DISC] (1) protected discrete Real P1.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P1.enableIn.posTE [DISC] (1) protected Integer P1.enableIn.k [DISC] (1) protected Integer P1.enableIn.nTAin [DISC] (1) protected Integer P1.enableIn.nremTAin [DISC] (1) protected discrete Real P1.enableIn.arcWeightSum Following equations were created by fixing variables: [SCAL] (1) $PRE.P1.disMarksOut.anytrue = $START.P1.disMarksOut.anytrue ($RES_SRT_795) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_794) [SCAL] (1) $PRE.P2.disMarksOut.anytrue = $START.P2.disMarksOut.anytrue ($RES_SRT_793) [SCAL] (1) $PRE.P2.disMarksIn.anytrue = $START.P2.disMarksIn.anytrue ($RES_SRT_792) [SCAL] (1) $PRE.P3.disMarksOut.anytrue = $START.P3.disMarksOut.anytrue ($RES_SRT_791) [SCAL] (1) $PRE.P3.disMarksIn.anytrue = $START.P3.disMarksIn.anytrue ($RES_SRT_790) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_789) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_788) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_787) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_786) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_785) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_784) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.2567303639953025] Failed to read output from testmodel.py, exit status != 0: 0.4819494629628025 0.49043233799999997 0.44447662 Calling exit ...