Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 115.8 kB / 17.75 MB, free: 5.324 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.001404/0.001404, allocations: 189.9 kB / 18.69 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.65e-05, allocations: 2.281 kB / 351.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005048/0.005085, allocations: 3.693 MB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.006981, allocations: 0.9272 MB / 356.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000419/0.007413, allocations: 8 kB / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.007705, allocations: 83.16 kB / 356.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004805/0.008193, allocations: 138.8 kB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.008709, allocations: 163.8 kB / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000894/0.009614, allocations: 0.6811 MB / 357.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004537/0.01008, allocations: 232.3 kB / 357.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.01046, allocations: 231.1 kB / 358.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.01085, allocations: 238.9 kB / 358.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.01097, allocations: 56 kB / 358.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.01109, allocations: 56 kB / 358.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006416/0.01173, allocations: 0.8189 MB / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003522/0.01209, allocations: 496.6 kB / 359.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.01227, allocations: 99.69 kB / 359.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000111/0.01239, allocations: 27.86 kB / 359.9 MB, free: 11.3 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: 103 (103) * Number of variables: 103 (102) Notification: Performance of Bindings: time 0.002344/0.01474, allocations: 2.399 MB / 362.3 MB, free: 8.781 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002053/0.01496, allocations: 122.6 kB / 362.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00119/0.01615, allocations: 1.206 MB / 363.6 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001544/0.01632, allocations: 103.9 kB / 363.7 MB, free: 7.328 MB / 302.1 MB Notification: Performance of Alias: time 0.002774/0.0191, allocations: 2.361 MB / 366 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001376/0.01925, allocations: 71.91 kB / 366.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of Events: time 0.0003023/0.01956, allocations: 188.2 kB / 366.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004405/0.02001, allocations: 356.7 kB / 366.6 MB, free: 4.113 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0005043/0.02053, allocations: 414.5 kB / 367.1 MB, free: 3.648 MB / 302.1 MB Notification: Performance of Causalize: time 0.002073/0.02261, allocations: 1.561 MB / 368.6 MB, free: 2.016 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008904/0.02357, allocations: 0.8691 MB / 369.5 MB, free: 1.121 MB / 302.1 MB Notification: Performance of Inline: time 0.1644/0.188, allocations: 1.579 MB / 371.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001847/0.1882, allocations: 102.8 kB / 371.2 MB, free: 18.81 MB / 302.1 MB Notification: Performance of Cleanup: time 8.372e-05/0.1883, allocations: 70.81 kB / 371.2 MB, free: 18.81 MB / 302.1 MB Notification: Performance of Causalize: time 0.00441/0.1927, allocations: 4.364 MB / 375.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of Tearing: time 0.0006477/0.1934, allocations: 0.7925 MB / 376.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of Initialization: time 1.623e-06/0.1934, allocations: 0 / 376.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of Tearing: time 0.0006058/0.194, allocations: 0.8028 MB / 377.2 MB, free: 17.56 MB / 302.1 MB Notification: Performance of Categorize: time 1.616e-05/0.194, allocations: 2.562 kB / 377.2 MB, free: 17.56 MB / 302.1 MB Notification: Performance of Solve: time 0.0003012/0.1943, allocations: 212.2 kB / 377.4 MB, free: 17.54 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0009539/0.1953, allocations: 1.01 MB / 378.4 MB, free: 17.14 MB / 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: ............... 1 * Number of algebraic event partitions: ......... 7 * 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: ............................. 3 (3) {meanVoltage.x, rootMeanSquareVoltage.mean.x, meanCurrent.x} * Number of discrete states: .................... 3 (3) {meanCurrent.y, rootMeanSquareVoltage.mean.y_last, meanVoltage.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 16 (16) {rectifier.diode_p1.off, rectifier.diode_p2.off, rectifier.diode_n1.off, rectifier.diode_n2.off, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 33 (scalar:33, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 80 (scalar:80, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 4.369e-05/0.1953, allocations: 41.77 kB / 378.4 MB, free: 17.13 MB / 302.1 MB Notification: Performance of SimCode: time 0.00194/0.1973, allocations: 2.735 MB / 381.2 MB, free: 15.98 MB / 302.1 MB Error: Template error: A template call failed (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SerializeModelInfo.mo:116:9-116:84:writable] Error: Internal error SerializeModelInfo.serialize failed [CodegenCFunctions.tpl:5962:14-5962:14:writable] Error: Template error: daeExpLbinary:ERR.