Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 119.7 kB / 18.48 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 209.1 kB / 19.42 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.192e-05, allocations: 4.672 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.002472/0.002504, allocations: 1.684 MB / 361 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000722/0.003238, allocations: 283.2 kB / 361.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.003401, allocations: 7.938 kB / 361.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.003572, allocations: 27.73 kB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/0.003641, allocations: 23.73 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.004184, allocations: 115.8 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.004591, allocations: 267.5 kB / 361.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004546/0.005053, allocations: 214.5 kB / 361.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.005267, allocations: 127.7 kB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.005482, allocations: 115.5 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.00555, allocations: 28 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.005665, allocations: 39.92 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002669/0.005938, allocations: 332.2 kB / 362.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001186/0.006064, allocations: 197 kB / 362.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.006145, allocations: 35.88 kB / 362.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.577e-05/0.00624, allocations: 39.8 kB / 362.8 MB, free: 9.484 MB / 302.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.001211/0.007457, allocations: 0.9758 MB / 363.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001547/0.007618, allocations: 110.3 kB / 363.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006333/0.008258, allocations: 0.6608 MB / 364.5 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simplify1: time 7.413e-05/0.008339, allocations: 51.92 kB / 364.6 MB, free: 7.555 MB / 302.1 MB Notification: Performance of Alias: time 0.001431/0.009777, allocations: 1.201 MB / 365.8 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simplify2: time 6.082e-05/0.009849, allocations: 43.88 kB / 365.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of Events: time 0.0001792/0.01003, allocations: 135.5 kB / 366 MB, free: 6.043 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003517/0.01039, allocations: 304 kB / 366.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003047/0.01071, allocations: 265.5 kB / 366.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of Causalize: time 0.001317/0.01203, allocations: 1.12 MB / 367.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005127/0.01255, allocations: 0.5724 MB / 368.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of Inline: time 0.0007591/0.01332, allocations: 0.7863 MB / 369 MB, free: 2.902 MB / 302.1 MB Notification: Performance of Partitioning: time 7.075e-05/0.0134, allocations: 68.97 kB / 369.1 MB, free: 2.828 MB / 302.1 MB Notification: Performance of Cleanup: time 5.778e-05/0.01346, allocations: 43.95 kB / 369.1 MB, free: 2.785 MB / 302.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_55) slice: {}; [SCAL] (1) initialStep.outPort[1].reset = transition1.outPort.set ($RES_SIM_60) slice: {}; [SCAL] (1) $SEV_4 = transition1.enableFire and time >= ((time - transition1.t_dummy) + transition1.waitTime) ($RES_EVT_94) slice: {}; [SCAL] (1) $SEV_1 = (transition2.localCondition and transition2.inPort.available) and not transition2.outPort.occupied ($RES_EVT_91) slice: {}; Notification: Performance of Causalize: time 0.002827/0.0163, allocations: 2.351 MB / 371.5 MB, free: 404 kB / 302.1 MB Notification: Performance of Tearing: time 7.744e-06/0.01631, allocations: 0 / 371.5 MB, free: 404 kB / 302.1 MB Notification: Performance of Initialization: time 7.01e-07/0.01632, allocations: 0 / 371.5 MB, free: 404 kB / 302.1 MB Notification: Performance of Tearing: time 3.567e-06/0.01633, allocations: 0 / 371.5 MB, free: 404 kB / 302.1 MB Notification: Performance of Categorize: time 1.201e-05/0.01635, allocations: 8 kB / 371.5 MB, free: 396 kB / 302.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.0003327/0.01668, allocations: 202.4 kB / 371.7 MB, free: 192 kB / 302.1 MB Notification: Performance of Jacobian: time 4.268e-06/0.0167, allocations: 0 / 371.7 MB, free: 192 kB / 302.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: ........... 61 (scalar:61, 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 6.179e-05/0.01677, allocations: 55.81 kB / 371.7 MB, free: 144 kB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false