Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3.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_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001206/0.001207, allocations: 116.3 kB / 18.47 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 206.3 kB / 19.42 MB, free: 3.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.379e-05, allocations: 4.672 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.002355/0.002377, allocations: 1.707 MB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006305/0.003019, allocations: 291.1 kB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.003132, allocations: 4 kB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.003276, allocations: 35.67 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.003339, allocations: 15.8 kB / 361.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.003701, allocations: 119.8 kB / 361.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.003976, allocations: 251.6 kB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.004262, allocations: 205.4 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.004386, allocations: 127.7 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.004526, allocations: 115.5 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.004574, allocations: 27.98 kB / 362.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.004645, allocations: 32 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002077/0.00486, allocations: 332.3 kB / 362.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.224e-05/0.004958, allocations: 200.8 kB / 362.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.005008, allocations: 35.88 kB / 362.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.329e-05/0.005068, allocations: 39.8 kB / 362.8 MB, free: 9.48 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.0009415/0.006014, allocations: 0.976 MB / 363.8 MB, free: 8.398 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001009/0.006121, allocations: 82.48 kB / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of Early Inline: time 0.000591/0.006719, allocations: 0.6763 MB / 364.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simplify1: time 5.147e-05/0.006777, allocations: 47.94 kB / 364.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of Alias: time 0.001261/0.008043, allocations: 1.196 MB / 365.8 MB, free: 6.242 MB / 302.1 MB Notification: Performance of simplify2: time 3.407e-05/0.008087, allocations: 35.94 kB / 365.8 MB, free: 6.207 MB / 302.1 MB Notification: Performance of Events: time 0.0001759/0.008268, allocations: 154.8 kB / 366 MB, free: 6.059 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002762/0.008551, allocations: 292.1 kB / 366.3 MB, free: 5.758 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000272/0.00883, allocations: 269.5 kB / 366.5 MB, free: 5.48 MB / 302.1 MB Notification: Performance of Causalize: time 0.001178/0.01002, allocations: 1.112 MB / 367.6 MB, free: 4.355 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004955/0.01052, allocations: 0.5763 MB / 368.2 MB, free: 3.75 MB / 302.1 MB Notification: Performance of Inline: time 0.0007112/0.01124, allocations: 0.7785 MB / 369 MB, free: 2.941 MB / 302.1 MB Notification: Performance of Partitioning: time 6.489e-05/0.01131, allocations: 64.98 kB / 369 MB, free: 2.867 MB / 302.1 MB Notification: Performance of Cleanup: time 4.095e-05/0.01136, allocations: 47.94 kB / 369.1 MB, free: 2.82 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) transition2.outPort.set = initialStep.inPort[1].set ($RES_SIM_51) slice: {}; [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: {}; Notification: Performance of Causalize: time 0.00255/0.01391, allocations: 2.36 MB / 371.5 MB, free: 428 kB / 302.1 MB Notification: Performance of Tearing: time 6.052e-06/0.01393, allocations: 0 / 371.5 MB, free: 428 kB / 302.1 MB Notification: Performance of Initialization: time 4.61e-07/0.01394, allocations: 0 / 371.5 MB, free: 428 kB / 302.1 MB Notification: Performance of Tearing: time 1.863e-06/0.01394, allocations: 4 kB / 371.5 MB, free: 424 kB / 302.1 MB Notification: Performance of Categorize: time 1.415e-05/0.01396, allocations: 4 kB / 371.5 MB, free: 420 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.0002986/0.01427, allocations: 194.3 kB / 371.7 MB, free: 228 kB / 302.1 MB Notification: Performance of Jacobian: time 2.825e-06/0.01428, allocations: 0 / 371.7 MB, free: 228 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 5.005e-05/0.01434, allocations: 54.31 kB / 371.7 MB, free: 180 kB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false