Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestStateSpace.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(Modelica_Synchronous.WorkInProgress.Tests.TestStateSpace,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestStateSpace") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestStateSpace,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestStateSpace") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009907/0.0009906, allocations: 107.3 kB / 17.14 MB, free: 5.91 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.0009835/0.0009834, allocations: 199 kB / 18.07 MB, free: 4.992 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.417/1.417, allocations: 205.1 MB / 223.9 MB, free: 12.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07259/0.07259, allocations: 12.59 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/2.867e-05, allocations: 5.562 kB / 394.7 MB, free: 45.38 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestStateSpace): time 0.002962/0.003007, allocations: 1.736 MB / 396.5 MB, free: 44.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.004196, allocations: 0.5389 MB / 397 MB, free: 43.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.004318, allocations: 5.781 kB / 397 MB, free: 43.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.004517, allocations: 23.81 kB / 397.1 MB, free: 43.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.527e-05/0.004599, allocations: 27.86 kB / 397.1 MB, free: 43.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.005, allocations: 60.19 kB / 397.1 MB, free: 43.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.005292, allocations: 156.3 kB / 397.3 MB, free: 43.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.00547, allocations: 37.62 kB / 397.3 MB, free: 43.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.005627, allocations: 63.7 kB / 397.4 MB, free: 43.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.005774, allocations: 56.62 kB / 397.4 MB, free: 43.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.005815, allocations: 7.375 kB / 397.5 MB, free: 43.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.313e-05/0.005844, allocations: 8.375 kB / 397.5 MB, free: 43.61 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001659/0.006015, allocations: 196.4 kB / 397.7 MB, free: 43.48 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.619e-05/0.006087, allocations: 121.6 kB / 397.8 MB, free: 43.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.006138, allocations: 23.31 kB / 397.8 MB, free: 43.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.584e-05/0.006169, allocations: 10.09 kB / 397.8 MB, free: 43.37 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: 17 (17) * Number of variables: 17 (17) Notification: Performance of Bindings: time 0.0006972/0.006871, allocations: 0.6127 MB / 398.4 MB, free: 42.85 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.975e-05/0.006959, allocations: 28.88 kB / 398.4 MB, free: 42.83 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002928/0.007259, allocations: 265 kB / 398.7 MB, free: 42.65 MB / 318.1 MB Notification: Performance of simplify1: time 3.596e-05/0.0073, allocations: 16.8 kB / 398.7 MB, free: 42.64 MB / 318.1 MB Notification: Performance of Alias: time 0.0004496/0.007756, allocations: 276.3 kB / 399 MB, free: 42.42 MB / 318.1 MB Notification: Performance of simplify2: time 1.972e-05/0.007786, allocations: 11.59 kB / 399 MB, free: 42.41 MB / 318.1 MB Notification: Performance of Events: time 0.0001108/0.007902, allocations: 48.05 kB / 399 MB, free: 42.39 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002341/0.008143, allocations: 156 kB / 399.2 MB, free: 42.28 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001485/0.008299, allocations: 121.5 kB / 399.3 MB, free: 42.2 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008122/0.009118, allocations: 0.5798 MB / 399.9 MB, free: 41.94 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002941/0.009427, allocations: 282.9 kB / 400.2 MB, free: 41.75 MB / 318.1 MB Notification: Performance of Inline: time 0.0005226/0.009957, allocations: 418.1 kB / 400.6 MB, free: 41.48 MB / 318.1 MB Notification: Performance of Partitioning: time 3.829e-05/0.01, allocations: 35.25 kB / 400.6 MB, free: 41.45 MB / 318.1 MB Notification: Performance of Cleanup: time 4.559e-05/0.01006, allocations: 26.72 kB / 400.6 MB, free: 41.44 MB / 318.1 MB Notification: Performance of Causalize: time 0.001106/0.01117, allocations: 0.9771 MB / 401.6 MB, free: 40.96 MB / 318.1 MB Notification: Performance of Tearing: time 8.987e-06/0.01119, allocations: 0 / 401.6 MB, free: 40.96 MB / 318.1 MB Notification: Performance of Initialization: time 3.21e-07/0.0112, allocations: 0 / 401.6 MB, free: 40.96 MB / 318.1 MB Notification: Performance of Tearing: time 2.274e-06/0.0112, allocations: 1.125 kB / 401.6 MB, free: 40.96 MB / 318.1 MB Notification: Performance of Categorize: time 1.31e-05/0.01122, allocations: 0.9062 kB / 401.6 MB, free: 40.96 MB / 318.1 MB Notification: Performance of Solve: time 0.0001225/0.01135, allocations: 68.7 kB / 401.7 MB, free: 40.93 MB / 318.1 MB Notification: Performance of Jacobian: time 4.799e-06/0.01136, allocations: 4 kB / 401.7 MB, free: 40.93 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 7 (7) {stateSpace1.y, stateSpace1.x, sampler.firstTrigger, sampler.y, stateSpace2.firstTrigger, stateSpace2.y, stateSpace2.x} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {stateSpace2.sampleTrigger, sampler.sampleTrigger, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 7 (algorithm:0, when:7, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 25 (scalar:17, array:8, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001318/0.0115, allocations: 29.94 kB / 401.7 MB, free: 40.91 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable sample1.clock.