Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.StateGraph.Examples.FirstExample_Variant2.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) 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.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.StateGraph.Examples.FirstExample_Variant2") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.StateGraph.Examples.FirstExample_Variant2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 106.4 kB / 16.42 MB, free: 6.461 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.001259/0.001259, allocations: 189.5 kB / 17.36 MB, free: 5.73 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.281/1.281, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.177e-05, allocations: 2.281 kB / 327.1 MB, free: 3.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.002486/0.002515, allocations: 1.672 MB / 328.8 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005842/0.003111, allocations: 251.2 kB / 329.1 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.658e-05/0.003208, allocations: 4 kB / 329.1 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.003339, allocations: 27.67 kB / 329.1 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.606e-05/0.003399, allocations: 23.8 kB / 329.1 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.003806, allocations: 119.8 kB / 329.2 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.004089, allocations: 263.5 kB / 329.5 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.004395, allocations: 210.9 kB / 329.7 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.004524, allocations: 123.6 kB / 329.8 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.004676, allocations: 119.5 kB / 329.9 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.004723, allocations: 28 kB / 330 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.004797, allocations: 32 kB / 330 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of combineBinaries: time 0.0002105/0.005013, allocations: 336.2 kB / 330.3 MB, free: 180 kB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001004/0.00512, allocations: 193 kB / 330.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.005176, allocations: 35.88 kB / 330.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.288e-05/0.005214, allocations: 27.81 kB / 330.6 MB, free: 15.92 MB / 286.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.0009461/0.006167, allocations: 0.9873 MB / 331.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001102/0.006283, allocations: 94.44 kB / 331.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of Early Inline: time 0.000563/0.006853, allocations: 0.6762 MB / 332.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of simplify1: time 5.598e-05/0.006915, allocations: 51.92 kB / 332.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of Alias: time 0.001131/0.008052, allocations: 1.07 MB / 333.5 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simplify2: time 3.693e-05/0.008099, allocations: 43.94 kB / 333.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of Events: time 0.0001628/0.008267, allocations: 132.8 kB / 333.6 MB, free: 12.6 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002986/0.008574, allocations: 279 kB / 333.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002461/0.008828, allocations: 249.2 kB / 334.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of Causalize: time 0.001296/0.01013, allocations: 1.397 MB / 335.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004475/0.01059, allocations: 0.5502 MB / 336.1 MB, free: 10.09 MB / 286.1 MB Notification: Performance of Inline: time 0.0006586/0.01125, allocations: 0.7607 MB / 336.8 MB, free: 9.297 MB / 286.1 MB Notification: Performance of Partitioning: time 5.638e-05/0.01132, allocations: 54.38 kB / 336.9 MB, free: 9.234 MB / 286.1 MB Notification: Performance of Cleanup: time 3.689e-05/0.01136, allocations: 39.97 kB / 336.9 MB, free: 9.195 MB / 286.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_54) slice: {}; [SCAL] (1) initialStep.outPort[1].reset = transition1.outPort.set ($RES_SIM_59) slice: {}; [SCAL] (1) $SEV_4 = transition1.enableFire and time >= ((time - transition1.t_dummy) + transition1.waitTime) ($RES_EVT_92) slice: {}; [SCAL] (1) $SEV_1 = (transition2.localCondition and transition2.inPort.available) and not transition2.outPort.occupied ($RES_EVT_89) slice: {}; Notification: Performance of Causalize: time 0.002116/0.01348, allocations: 2.343 MB / 339.3 MB, free: 6.867 MB / 286.1 MB Notification: Performance of Tearing: time 8.907e-06/0.0135, allocations: 3.938 kB / 339.3 MB, free: 6.863 MB / 286.1 MB Notification: Performance of Initialization: time 1.994e-06/0.01351, allocations: 4 kB / 339.3 MB, free: 6.859 MB / 286.1 MB Notification: Performance of Tearing: time 2.845e-06/0.01351, allocations: 4.031 kB / 339.3 MB, free: 6.855 MB / 286.1 MB Notification: Performance of Categorize: time 8.876e-06/0.01353, allocations: 0 / 339.3 MB, free: 6.855 MB / 286.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.0002843/0.01382, allocations: 186.5 kB / 339.5 MB, free: 6.672 MB / 286.1 MB Notification: Performance of Jacobian: time 4.499e-06/0.01383, allocations: 11.86 kB / 339.5 MB, free: 6.66 MB / 286.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: ......... 1 * 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: .................... 3 (3) {timer.entryTime, step.oldActive, initialStep.oldActive} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 40 (40) {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_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: ........... 45 (scalar:45, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, 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: ........... 58 (scalar:58, 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.996e-05/0.0139, allocations: 59.31 kB / 339.5 MB, free: 6.609 MB / 286.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false