Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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 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_Variant3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.StateGraph.Examples.FirstExample_Variant3") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001376/0.001382, allocations: 105.3 kB / 16.42 MB, free: 6.477 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.001204/0.001204, allocations: 192.3 kB / 17.36 MB, free: 5.707 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.286/1.286, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.693e-05, allocations: 6.219 kB / 327.2 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.002545/0.002579, allocations: 1.687 MB / 328.8 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005934/0.003185, allocations: 255.2 kB / 329.1 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.003286, allocations: 7.938 kB / 329.1 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.003418, allocations: 27.67 kB / 329.1 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.00349, allocations: 19.8 kB / 329.1 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.003879, allocations: 119.8 kB / 329.3 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.004168, allocations: 259.5 kB / 329.5 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.004472, allocations: 205.4 kB / 329.7 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.004605, allocations: 119.7 kB / 329.8 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.004751, allocations: 119.5 kB / 330 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.004798, allocations: 28 kB / 330 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.078e-05/0.004875, allocations: 31.98 kB / 330 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of combineBinaries: time 0.0002188/0.0051, allocations: 328.3 kB / 330.3 MB, free: 172 kB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001054/0.005211, allocations: 193.1 kB / 330.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.005268, allocations: 35.88 kB / 330.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.601e-05/0.005309, allocations: 31.69 kB / 330.6 MB, free: 15.91 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.0009738/0.006288, allocations: 0.9798 MB / 331.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001132/0.00641, allocations: 74.5 kB / 331.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0005964/0.007014, allocations: 0.6724 MB / 332.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of simplify1: time 5.58e-05/0.007077, allocations: 51.91 kB / 332.4 MB, free: 14 MB / 286.1 MB Notification: Performance of Alias: time 0.001175/0.008257, allocations: 1.07 MB / 333.4 MB, free: 12.79 MB / 286.1 MB Notification: Performance of simplify2: time 3.74e-05/0.008305, allocations: 43.89 kB / 333.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of Events: time 0.0001708/0.008482, allocations: 132.8 kB / 333.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002907/0.008779, allocations: 275 kB / 333.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002542/0.009042, allocations: 253.2 kB / 334.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of Causalize: time 0.001342/0.01039, allocations: 1.404 MB / 335.5 MB, free: 10.69 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004448/0.01085, allocations: 0.5463 MB / 336.1 MB, free: 10.11 MB / 286.1 MB Notification: Performance of Inline: time 0.0006678/0.01152, allocations: 0.7528 MB / 336.8 MB, free: 9.324 MB / 286.1 MB Notification: Performance of Partitioning: time 5.353e-05/0.01158, allocations: 58.3 kB / 336.9 MB, free: 9.262 MB / 286.1 MB Notification: Performance of Cleanup: time 3.47e-05/0.01162, allocations: 31.97 kB / 336.9 MB, free: 9.23 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_52) slice: {}; [SCAL] (1) initialStep.outPort[1].reset = transition1.outPort.set ($RES_SIM_57) slice: {}; [SCAL] (1) $SEV_3 = transition1.enableFire and time >= ((time - transition1.t_dummy) + transition1.waitTime) ($RES_EVT_91) slice: {}; [SCAL] (1) $SEV_0 = (transition2.localCondition and transition2.inPort.available) and not transition2.outPort.occupied ($RES_EVT_88) slice: {}; Notification: Performance of Causalize: time 0.002117/0.01375, allocations: 2.341 MB / 339.3 MB, free: 6.895 MB / 286.1 MB Notification: Performance of Tearing: time 7.905e-06/0.01376, allocations: 0 / 339.3 MB, free: 6.895 MB / 286.1 MB Notification: Performance of Initialization: time 6.62e-07/0.01377, allocations: 0 / 339.3 MB, free: 6.895 MB / 286.1 MB Notification: Performance of Tearing: time 1.794e-06/0.01377, allocations: 0 / 339.3 MB, free: 6.895 MB / 286.1 MB Notification: Performance of Categorize: time 1.032e-05/0.01379, allocations: 4 kB / 339.3 MB, free: 6.891 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.0002897/0.01408, allocations: 182.5 kB / 339.4 MB, free: 6.711 MB / 286.1 MB Notification: Performance of Jacobian: time 3.135e-06/0.01409, allocations: 0 / 339.4 MB, free: 6.711 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.73e-05/0.01416, allocations: 63.28 kB / 339.5 MB, free: 6.66 MB / 286.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false