Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.NoTokens.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.001669/0.001669, allocations: 104.3 kB / 19.76 MB, free: 2.043 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.001955/0.001955, allocations: 214.7 kB / 23.07 MB, free: 4.852 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.535/1.535, allocations: 230.7 MB / 256.9 MB, free: 7.746 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.08132/0.08132, allocations: 16.95 MB / 330.2 MB, free: 2.035 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.NoTokens,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="P1.t|P2.t|P3.t|P4.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.NoTokens") translateModel(PNlib.Examples.ExtTest.NoTokens,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="P1.t|P2.t|P3.t|P4.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.NoTokens") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.654e-05, allocations: 4.25 kB / 461 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.NoTokens): time 0.006407/0.006434, allocations: 4.168 MB / 465.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008879/0.01531, allocations: 3.66 MB / 468.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.01705, allocations: 35.81 kB / 468.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.0181, allocations: 452.4 kB / 469.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.01952, allocations: 0.5084 MB / 469.8 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004734/0.02425, allocations: 1.894 MB / 471.7 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009524/0.03378, allocations: 5.52 MB / 477.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009471/0.03472, allocations: 381.5 kB / 477.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.03866, allocations: 2.24 MB / 479.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003501/0.04216, allocations: 1.692 MB / 481.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.04324, allocations: 364 kB / 481.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.04519, allocations: 0.8741 MB / 482.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.006008/0.0512, allocations: 5.313 MB / 488.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.00316/0.05436, allocations: 2.923 MB / 491 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.05566, allocations: 280 kB / 491.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0006862/0.05634, allocations: 282 kB / 491.6 MB, free: 2.902 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: 909 (596) * Number of variables: 909 (673) Notification: Performance of [SIM] Bindings: time 0.01878/0.07512, allocations: 13.71 MB / 0.4934 GB, free: 4.816 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003556/0.07868, allocations: 1.891 MB / 0.4953 GB, free: 2.91 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.02108/0.09976, allocations: 14.12 MB / 0.5091 GB, free: 4.688 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00554/0.1053, allocations: 2.478 MB / 0.5115 GB, free: 2.043 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.2993/0.4046, allocations: 12.66 MB / 0.5238 GB, free: 39.96 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.005137/0.4098, allocations: 2.202 MB / 0.526 GB, free: 39.63 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.003583/0.4133, allocations: 1.728 MB / 0.5277 GB, free: 39.47 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.005188/0.4185, allocations: 3.41 MB / 0.531 GB, free: 38.74 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.003859/0.4224, allocations: 2.413 MB / 0.5334 GB, free: 37.66 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.009353/0.4317, allocations: 5.651 MB / 0.5389 GB, free: 34.78 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02431/0.4561, allocations: 19.05 MB / 0.5575 GB, free: 26.12 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01168/0.4677, allocations: 12.4 MB / 0.5696 GB, free: 15.72 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.009295/0.477, allocations: 4.712 MB / 0.5742 GB, free: 10.83 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.02568/0.5027, allocations: 19.78 MB / 0.5935 GB, free: 7.363 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 0.001108/0.5038, allocations: 234 kB / 0.5937 GB, free: 7.09 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.006231/0.5101, allocations: 2.83 MB / 0.5965 GB, free: 4.262 MB / 398.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_18 = $PRE.P4.disMarksOut.anytrue or $PRE.P4.disMarksIn.anytrue ($RES_EVT_854); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_5 [DISC] (1) Boolean $SEV_27 [DISC] (1) Boolean $SEV_28 [DISC] (1) Boolean $SEV_29 [DISC] (1) Boolean $SEV_34 [DISC] (1) Boolean[1] $SEV_35 [DISC] (1) Boolean $SEV_36 [DISC] (1) Boolean $SEV_40 [DISC] (1) Boolean $SEV_41 [DISC] (1) Boolean $SEV_42 [DISC] (1) Boolean $SEV_50 [DISC] (1) Boolean $SEV_51 [DISC] (1) Boolean $SEV_52 [DISC] (1) Boolean $SEV_100 [DISC] (2) Boolean[2] $SEV_101 [DISC] (1) Boolean $SEV_102 [DISC] (1) Boolean IA1.outTransition.enable = IA1.outTransition.enable [DISC] (1) protected Integer P4.enableOut.Index [DISC] (1) protected Boolean P4.enableOut.endWhile [DISC] (1) protected discrete Real P4.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P4.enableOut.posTE [DISC] (1) protected Integer P4.enableOut.k [DISC] (1) protected Integer P4.enableOut.nTAout [DISC] (1) protected Integer P4.enableOut.nremTAout [DISC] (1) protected discrete Real P4.enableOut.arcWeightSum [DISC] (1) protected discrete Real P4.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P4.enableIn.nTAin [DISC] (2) Boolean[2] P4.inTransition.enable = {P4.enableIn.TEin_[$inTransition1] for $inTransition1 in 1:2} [DISC] (1) protected Boolean T1.fire_ = PNlib.Functions.OddsAndEnds.allTrue(PNlib.Functions.OddsAndEnds.boolOr(T1.enableIn, not T1.disPlaceIn)) [DISC] (1) Boolean[1] T1.outPlaces.enable [DISC] (1) protected Integer P2.enableOut.Index [DISC] (1) protected Integer P2.enableOut.k [DISC] (1) protected Integer P2.enableOut.nTAout [DISC] (1) protected discrete Real P2.enableOut.arcWeightSum [DISC] (1) protected Integer P2.enableIn.Index [DISC] (1) protected Boolean P2.enableIn.endWhile [DISC] (1) protected discrete Real P2.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P2.enableIn.posTE [DISC] (1) protected Integer P2.enableIn.k [DISC] (1) protected Integer P2.enableIn.nTAin [DISC] (1) protected Integer P2.enableIn.nremTAin [DISC] (1) protected discrete Real P2.enableIn.arcWeightSum [DISC] (1) protected Integer P3.enableOut.k [DISC] (1) protected Integer P3.enableOut.nTAout [DISC] (1) protected Integer P3.enableIn.Index [DISC] (1) protected Boolean P3.enableIn.endWhile [DISC] (1) protected discrete Real P3.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P3.enableIn.posTE [DISC] (1) protected Integer P3.enableIn.k [DISC] (1) protected Integer P3.enableIn.nTAin [DISC] (1) protected Integer P3.enableIn.nremTAin [DISC] (1) protected discrete Real P3.enableIn.arcWeightSum [DISC] (1) protected Integer P1.enableOut.k [DISC] (1) protected Integer P1.enableOut.nTAout [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_1012) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_1011) [SCAL] (1) $PRE.P3.disMarksOut.anytrue = $START.P3.disMarksOut.anytrue ($RES_SRT_1010) [SCAL] (1) $PRE.P3.disMarksIn.anytrue = $START.P3.disMarksIn.anytrue ($RES_SRT_1009) [SCAL] (1) $PRE.P2.disMarksOut.anytrue = $START.P2.disMarksOut.anytrue ($RES_SRT_1008) [SCAL] (1) $PRE.P2.disMarksIn.anytrue = $START.P2.disMarksIn.anytrue ($RES_SRT_1007) [SCAL] (1) $PRE.P4.disMarksOut.anytrue = $START.P4.disMarksOut.anytrue ($RES_SRT_1006) [SCAL] (1) $PRE.P4.disMarksIn.anytrue = $START.P4.disMarksIn.anytrue ($RES_SRT_1005) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_1004) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_1003) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_1002) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_1001) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_1000) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_999) [ARRY] (4) $PRE.P4.enableIn.state128 = $START.P4.enableIn.state128 ($RES_SRT_998) [ARRY] (4) $PRE.P4.enableOut.state128 = $START.P4.enableOut.state128 ($RES_SRT_997) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.2760128310183063] Failed to read output from testmodel.py, exit status != 0: 0.5470417370088398 0.560988457 0.5014659880000001 Calling exit ...