Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant3.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) 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(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant3") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 102.4 kB / 17.69 MB, free: 5.379 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.001339/0.001339, allocations: 193.2 kB / 18.63 MB, free: 4.461 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.229/1.229, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.447e-05, allocations: 6.219 kB / 302 MB, free: 5.238 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.002684/0.002725, allocations: 1.688 MB / 303.7 MB, free: 3.547 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005937/0.003333, allocations: 291.2 kB / 304 MB, free: 3.262 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.003463, allocations: 4.75 kB / 304 MB, free: 3.258 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.00365, allocations: 31.61 kB / 304 MB, free: 3.227 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 6.026e-05/0.003735, allocations: 17.05 kB / 304 MB, free: 3.211 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.004133, allocations: 115.8 kB / 304.1 MB, free: 3.098 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.00444, allocations: 259.5 kB / 304.4 MB, free: 2.844 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.004769, allocations: 197.5 kB / 304.6 MB, free: 2.652 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.004912, allocations: 127.6 kB / 304.7 MB, free: 2.527 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.005066, allocations: 127.5 kB / 304.8 MB, free: 2.402 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.005114, allocations: 28 kB / 304.9 MB, free: 2.375 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.005208, allocations: 28 kB / 304.9 MB, free: 2.348 MB / 238.1 MB Notification: Performance of combineBinaries: time 0.0002279/0.005447, allocations: 336.2 kB / 305.2 MB, free: 2.016 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001002/0.005556, allocations: 193 kB / 305.4 MB, free: 1.824 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.005619, allocations: 39.81 kB / 305.4 MB, free: 1.785 MB / 238.1 MB Notification: Performance of FrontEnd: time 4.561e-05/0.00567, allocations: 31.8 kB / 305.5 MB, free: 1.754 MB / 238.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 (64) * Number of variables: 60 (60) Notification: Performance of Bindings: time 0.001108/0.006783, allocations: 0.9836 MB / 306.5 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FunctionAlias: time 0.0001249/0.006915, allocations: 82.47 kB / 306.5 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of Early Inline: time 0.0006305/0.007553, allocations: 0.6686 MB / 307.2 MB, free: 15.89 MB / 254.1 MB Notification: Performance of simplify1: time 5.461e-05/0.007615, allocations: 51.84 kB / 307.3 MB, free: 15.84 MB / 254.1 MB Notification: Performance of Alias: time 0.001198/0.008821, allocations: 1.069 MB / 308.3 MB, free: 14.64 MB / 254.1 MB Notification: Performance of simplify2: time 3.846e-05/0.00887, allocations: 39.94 kB / 308.4 MB, free: 14.6 MB / 254.1 MB Notification: Performance of Events: time 0.0001838/0.00906, allocations: 131.5 kB / 308.5 MB, free: 14.47 MB / 254.1 MB Notification: Performance of Detect States: time 0.0003202/0.009387, allocations: 295.6 kB / 308.8 MB, free: 14.17 MB / 254.1 MB Notification: Performance of Partitioning: time 0.0002756/0.009671, allocations: 269.5 kB / 309 MB, free: 13.89 MB / 254.1 MB Notification: Performance of Causalize: time 0.001426/0.0111, allocations: 1.449 MB / 310.5 MB, free: 12.45 MB / 254.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005335/0.01165, allocations: 0.5684 MB / 311.1 MB, free: 11.85 MB / 254.1 MB Notification: Performance of Inline: time 0.0008502/0.01251, allocations: 0.7904 MB / 311.9 MB, free: 11.02 MB / 254.1 MB Notification: Performance of Partitioning: time 6.982e-05/0.01259, allocations: 64.98 kB / 311.9 MB, free: 10.95 MB / 254.1 MB Notification: Performance of Cleanup: time 3.884e-05/0.01263, allocations: 43.95 kB / 312 MB, free: 10.91 MB / 254.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) step.outPort[1].reset = transition2.outPort.set ($RES_SIM_53) slice: {}; [SCAL] (1) initialStep.outPort[1].reset = transition1.outPort.set ($RES_SIM_58) slice: {}; [SCAL] (1) $SEV_3 = transition1.enableFire and time >= ((time - transition1.t_dummy) + transition1.waitTime) ($RES_EVT_93) slice: {}; [SCAL] (1) $SEV_0 = (transition2.localCondition and transition2.inPort.available) and not transition2.outPort.occupied ($RES_EVT_90) slice: {}; Notification: Performance of Causalize: time 0.002505/0.01514, allocations: 2.494 MB / 314.5 MB, free: 8.445 MB / 254.1 MB Notification: Performance of Tearing: time 8.085e-06/0.01517, allocations: 0 / 314.5 MB, free: 8.445 MB / 254.1 MB Notification: Performance of Initialization: time 7.41e-07/0.01518, allocations: 8 kB / 314.5 MB, free: 8.438 MB / 254.1 MB Notification: Performance of Tearing: time 5.881e-06/0.01519, allocations: 4 kB / 314.5 MB, free: 8.434 MB / 254.1 MB Notification: Performance of Categorize: time 1.095e-05/0.0152, allocations: 0 / 314.5 MB, free: 8.434 MB / 254.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:2011:9-2012:55:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for pre Notification: Performance of Solve: time 0.0003485/0.01555, allocations: 198.8 kB / 314.7 MB, free: 8.238 MB / 254.1 MB Notification: Performance of Jacobian: time 3.136e-06/0.01557, allocations: 7.938 kB / 314.7 MB, free: 8.23 MB / 254.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: .................... 4 (4) {timer.entryTime, transition2.t_start, step.oldActive, initialStep.oldActive} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 41 (41) {initialStep.inPort.set, initialStep.inPort.occupied, initialStep.outPort.reset, initialStep.outPort.available, initialStep.outerStatePort.localActive, initialStep.newActive, transition1.enableFire, transition1.inPort.available, transition1.outPort.occupied, transition1.outPort.set, step.inPort.set, step.inPort.occupied, step.outPort.reset, step.outPort.available, step.outerStatePort.localActive, step.newActive, transition2.localCondition, transition2.inPort.available, transition2.outPort.occupied, transition2.outPort.set, stateGraphRoot.activeSteps, $FUN_1, $FUN_2, $FUN_3, $FUN_4, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $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: ........... 46 (scalar:46, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, 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: ........... 62 (scalar:62, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 5.64e-05/0.01563, allocations: 55.92 kB / 314.7 MB, free: 8.188 MB / 254.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false