Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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 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.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001266/0.001266, allocations: 108.7 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.001147/0.001147, allocations: 187.2 kB / 17.35 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.486/1.486, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.856e-05, allocations: 2.281 kB / 327.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004391/0.004418, allocations: 3.651 MB / 330.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.00588, allocations: 0.9553 MB / 331.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.006061, allocations: 11.94 kB / 331.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.006265, allocations: 79.22 kB / 331.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.006565, allocations: 146.7 kB / 332 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.006886, allocations: 155.8 kB / 332.2 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006132/0.007508, allocations: 0.6812 MB / 332.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.00785, allocations: 211.7 kB / 333.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.008097, allocations: 227.1 kB / 333.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.008354, allocations: 242.9 kB / 333.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.008427, allocations: 56 kB / 333.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.17e-05/0.008514, allocations: 52 kB / 333.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0005652/0.009085, allocations: 0.8036 MB / 334.4 MB, free: 12.01 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002866/0.009378, allocations: 0.4888 MB / 334.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.009485, allocations: 95.69 kB / 335 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.06e-05/0.00954, allocations: 23.88 kB / 335.1 MB, free: 11.4 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: 100 (100) * Number of variables: 100 (99) Notification: Performance of Bindings: time 0.00207/0.01162, allocations: 2.364 MB / 337.4 MB, free: 8.91 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.000149/0.01177, allocations: 118.9 kB / 337.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001108/0.01289, allocations: 1.182 MB / 338.7 MB, free: 7.59 MB / 286.1 MB Notification: Performance of simplify1: time 9.944e-05/0.013, allocations: 107.9 kB / 338.8 MB, free: 7.484 MB / 286.1 MB Notification: Performance of Alias: time 0.002178/0.01518, allocations: 2.022 MB / 340.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of simplify2: time 6.978e-05/0.01526, allocations: 71.91 kB / 340.9 MB, free: 5.168 MB / 286.1 MB Notification: Performance of Events: time 0.0002588/0.01553, allocations: 199.3 kB / 341.1 MB, free: 4.973 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003907/0.01593, allocations: 352.7 kB / 341.5 MB, free: 4.609 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0004358/0.01637, allocations: 402.5 kB / 341.8 MB, free: 4.156 MB / 286.1 MB Notification: Performance of Causalize: time 0.002128/0.0185, allocations: 2.123 MB / 344 MB, free: 1.988 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008442/0.01936, allocations: 0.8773 MB / 344.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of Inline: time 0.001554/0.02092, allocations: 1.579 MB / 346.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001183/0.02105, allocations: 103.6 kB / 346.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Cleanup: time 6.792e-05/0.02112, allocations: 79.75 kB / 346.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of Causalize: time 0.004474/0.0256, allocations: 4.912 MB / 351.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Tearing: time 0.0008216/0.02643, allocations: 0.7918 MB / 352.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of Initialization: time 7.91e-07/0.02645, allocations: 4 kB / 352.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of Tearing: time 0.0007385/0.02719, allocations: 0.7982 MB / 353.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of Categorize: time 1.531e-05/0.02722, allocations: 3.938 kB / 353.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of Solve: time 0.0003109/0.02753, allocations: 206.1 kB / 353.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of Jacobian: time 0.001139/0.02868, allocations: 1.022 MB / 354.3 MB, free: 7.562 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, 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 0.0001314/0.02882, allocations: 46.8 kB / 354.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of SimCode: time 0.002236/0.03106, allocations: 2.713 MB / 357.1 MB, free: 4.773 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.