Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001228/0.001228, allocations: 106.3 kB / 18.41 MB, free: 4.641 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.00143/0.001431, allocations: 188.4 kB / 19.35 MB, free: 3.719 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.589/1.589, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.413e-05, allocations: 7.062 kB / 329.1 MB, free: 3.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.003188/0.003231, allocations: 1.676 MB / 330.8 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007545/0.004003, allocations: 259.2 kB / 331.1 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.004121, allocations: 11.94 kB / 331.1 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.00427, allocations: 23.73 kB / 331.1 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.004358, allocations: 15.75 kB / 331.1 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.00481, allocations: 111.8 kB / 331.2 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.005141, allocations: 267.4 kB / 331.5 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003511/0.005499, allocations: 205.5 kB / 331.7 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.005633, allocations: 119.7 kB / 331.8 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.005809, allocations: 123.5 kB / 331.9 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.005866, allocations: 28 kB / 332 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.703e-05/0.00595, allocations: 31.98 kB / 332 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of combineBinaries: time 0.0002547/0.006212, allocations: 332.2 kB / 332.3 MB, free: 204 kB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001095/0.006329, allocations: 193 kB / 332.5 MB, free: 8 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.892e-05/0.006405, allocations: 35.92 kB / 332.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.438e-05/0.006477, allocations: 39.73 kB / 332.6 MB, free: 15.93 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.001136/0.007618, allocations: 0.968 MB / 333.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001218/0.007749, allocations: 78.5 kB / 333.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0006689/0.008425, allocations: 0.6802 MB / 334.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of simplify1: time 5.673e-05/0.00849, allocations: 47.94 kB / 334.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of Alias: time 0.001664/0.01016, allocations: 1.208 MB / 335.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simplify2: time 3.89e-05/0.01021, allocations: 35.95 kB / 335.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of Events: time 0.0002047/0.01042, allocations: 128.8 kB / 335.7 MB, free: 12.52 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003696/0.0108, allocations: 285.8 kB / 336 MB, free: 12.23 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0003009/0.01111, allocations: 253.1 kB / 336.2 MB, free: 11.97 MB / 286.1 MB Notification: Performance of Causalize: time 0.001404/0.01252, allocations: 1.073 MB / 337.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006563/0.01319, allocations: 0.5423 MB / 337.9 MB, free: 10.33 MB / 286.1 MB Notification: Performance of Inline: time 0.0009792/0.01418, allocations: 0.7641 MB / 338.6 MB, free: 9.527 MB / 286.1 MB Notification: Performance of Partitioning: time 7.724e-05/0.01427, allocations: 54.38 kB / 338.7 MB, free: 9.469 MB / 286.1 MB Notification: Performance of Cleanup: time 8.179e-05/0.01436, allocations: 35.97 kB / 338.7 MB, free: 9.434 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) transition2.outPort.set = initialStep.inPort[1].set ($RES_SIM_50) slice: {}; [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: {}; Notification: Performance of Causalize: time 0.00325/0.01762, allocations: 2.26 MB / 341 MB, free: 7.125 MB / 286.1 MB Notification: Performance of Tearing: time 1.261e-05/0.01764, allocations: 3.938 kB / 341 MB, free: 7.121 MB / 286.1 MB Notification: Performance of Initialization: time 2.565e-06/0.01765, allocations: 8 kB / 341 MB, free: 7.113 MB / 286.1 MB Notification: Performance of Tearing: time 3.987e-06/0.01766, allocations: 0 / 341 MB, free: 7.113 MB / 286.1 MB Notification: Performance of Categorize: time 1.394e-05/0.01768, allocations: 0 / 341 MB, free: 7.113 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.0003967/0.01808, allocations: 178.5 kB / 341.2 MB, free: 6.941 MB / 286.1 MB Notification: Performance of Jacobian: time 5.18e-06/0.0181, allocations: 3.938 kB / 341.2 MB, free: 6.938 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 7.603e-05/0.0182, allocations: 50.19 kB / 341.2 MB, free: 6.891 MB / 286.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false