Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator") translateModel(Annex60.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009943/0.0009948, allocations: 106.8 kB / 16.42 MB, free: 6.512 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.0009601/0.0009601, 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 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2466/0.2466, allocations: 54.95 MB / 325.5 MB, free: 4.852 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.586e-05, allocations: 2.281 kB / 456.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegerReplicator): time 0.002644/0.002668, allocations: 1.742 MB / 458.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.00424, allocations: 1.011 MB / 459.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.004328, allocations: 4 kB / 459.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.004642, allocations: 59.73 kB / 459.6 MB, free: 15.88 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.004872, allocations: 87.59 kB / 459.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.005383, allocations: 191 kB / 459.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.005601, allocations: 159.6 kB / 460.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.005722, allocations: 28.91 kB / 460.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.005843, allocations: 67.77 kB / 460.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.005948, allocations: 67.69 kB / 460.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.005976, allocations: 4 kB / 460.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.006111, allocations: 75.94 kB / 460.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001344/0.006253, allocations: 162 kB / 460.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 6.988e-05/0.006329, allocations: 110.4 kB / 460.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.006362, allocations: 11.94 kB / 460.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.582e-05/0.006382, allocations: 4 kB / 460.6 MB, free: 14.93 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: 10 (9) * Number of variables: 10 (9) Notification: Performance of Bindings: time 0.0005626/0.00695, allocations: 0.5516 MB / 461.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FunctionAlias: time 6.065e-05/0.007016, allocations: 23.92 kB / 461.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001901/0.007214, allocations: 204.2 kB / 461.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simplify1: time 2.547e-05/0.007247, allocations: 15.97 kB / 461.4 MB, free: 14 MB / 350.1 MB Notification: Performance of Alias: time 0.0003068/0.007559, allocations: 241.9 kB / 461.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simplify2: time 1.558e-05/0.007583, allocations: 12.23 kB / 461.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Events: time 8.792e-05/0.007681, allocations: 55.78 kB / 461.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001355/0.007825, allocations: 88.14 kB / 461.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Partitioning: time 9.91e-05/0.007932, allocations: 103.8 kB / 461.9 MB, free: 13.43 MB / 350.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency intRep.u could not be divided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) intRep.y = fill(intRep.u, 2) ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (11/12) ************************** (1) [ALGB] (1) Real[1] intTab.combiTimeTable.y (2) [DISC] (2) Integer[2] intRep.y (3) [DISC] (1) Boolean $SEV_3 (4) [ALGB] (1) Real $FUN_2 (5) [DISC] (1) Boolean $SEV_2 (6) [ALGB] (1) Real $FUN_1 (7) [DISS] (1) protected discrete Real intTab.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (8) [DISC] (1) Integer intRep.u (9) [DISS] (1) protected discrete Real intTab.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (10) [ALGB] (1) Real intTab.realToInteger.u (11) [DISC] (1) Boolean $TEV_0 System Equations (11/12) ************************** (1) [SCAL] (1) intTab.combiTimeTable.y[1] = intTab.realToInteger.u ($RES_SIM_11) (2) [SCAL] (1) intRep.u = if $SEV_2 then integer($FUN_1) else integer($FUN_2) ($RES_SIM_4) (3) [SCAL] (1) $TEV_0 = $PRE.intTab.combiTimeTable.nextTimeEventScaled ($RES_EVT_14) (4) [ARRY] (2) intRep.y = fill(intRep.u, 2) ($RES_SIM_1) (5) [SCAL] (1) $SEV_2 = intTab.realToInteger.u > 0.0 ($RES_EVT_17) (6) [SCAL] (1) $SEV_3 = time >= $PRE.intTab.combiTimeTable.nextTimeEvent ($RES_EVT_18) (7) [SCAL] (1) $FUN_2 = ceil((-0.5) + intTab.realToInteger.u) ($RES_$AUX_12) (8) [SCAL] (1) $FUN_1 = floor(0.5 + intTab.realToInteger.u) ($RES_$AUX_13) (9) [WHEN] (1)when {$SEV_3, initial()} then (9) [----] intTab.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(intTab.combiTimeTable.tableID, time) (9) [----] end when; (10) [WHEN] (1)when {$SEV_3, initial()} then (10) [----] intTab.combiTimeTable.nextTimeEvent := if intTab.combiTimeTable.nextTimeEventScaled < 1e60 then intTab.combiTimeTable.nextTimeEventScaled else 1e60 (10) [----] end when; (11) [SCAL] (1) intTab.combiTimeTable.y[1] = intTab.combiTimeTable.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(intTab.combiTimeTable.tableID, 1, time, intTab.combiTimeTable.nextTimeEventScaled, $TEV_0) ($RES_SIM_5)