Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001319/0.001319, allocations: 104 kB / 18.41 MB, free: 4.688 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.001163/0.001163, allocations: 194.6 kB / 19.35 MB, free: 3.762 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.557/1.557, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.544e-05/4.544e-05, allocations: 3.266 kB / 329.2 MB, free: 3.348 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005218/0.005272, allocations: 3.653 MB / 332.8 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.007203, allocations: 0.9553 MB / 333.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/0.007658, allocations: 11.94 kB / 333.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.007994, allocations: 75.23 kB / 333.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005753/0.008579, allocations: 150.7 kB / 334 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.009137, allocations: 159.8 kB / 334.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.01024, allocations: 0.6773 MB / 334.9 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004443/0.01069, allocations: 219.7 kB / 335.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.01118, allocations: 227.1 kB / 335.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004715/0.01166, allocations: 238.9 kB / 335.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.01181, allocations: 56 kB / 335.6 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.01194, allocations: 52 kB / 335.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007035/0.01265, allocations: 0.8036 MB / 336.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003907/0.01305, allocations: 0.4888 MB / 336.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.01323, allocations: 95.69 kB / 337 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001172/0.01336, allocations: 23.94 kB / 337 MB, free: 11.43 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.002372/0.01573, allocations: 2.368 MB / 339.4 MB, free: 8.938 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.000189/0.01593, allocations: 115.1 kB / 339.5 MB, free: 8.828 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001185/0.01713, allocations: 1.179 MB / 340.7 MB, free: 7.625 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001076/0.01724, allocations: 103.9 kB / 340.8 MB, free: 7.523 MB / 286.1 MB Notification: Performance of Alias: time 0.002938/0.02019, allocations: 2.266 MB / 343.1 MB, free: 5.031 MB / 286.1 MB Notification: Performance of simplify2: time 8.361e-05/0.02028, allocations: 67.91 kB / 343.1 MB, free: 4.965 MB / 286.1 MB Notification: Performance of Events: time 0.0002577/0.02055, allocations: 194.7 kB / 343.3 MB, free: 4.773 MB / 286.1 MB Notification: Performance of Detect States: time 0.0004001/0.02096, allocations: 352.7 kB / 343.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0004503/0.02142, allocations: 426.4 kB / 344.1 MB, free: 3.934 MB / 286.1 MB Notification: Performance of Causalize: time 0.001817/0.02325, allocations: 1.561 MB / 345.6 MB, free: 2.301 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008402/0.0241, allocations: 0.8729 MB / 346.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of Inline: time 0.001679/0.02579, allocations: 1.571 MB / 348.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000121/0.02592, allocations: 103.6 kB / 348.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of Cleanup: time 8.124e-05/0.02601, allocations: 75.81 kB / 348.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of Causalize: time 0.005121/0.03114, allocations: 4.348 MB / 352.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Tearing: time 0.0008629/0.03202, allocations: 0.798 MB / 353.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of Initialization: time 1.172e-06/0.03204, allocations: 0 / 353.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of Tearing: time 0.0008016/0.03284, allocations: 0.8099 MB / 354.2 MB, free: 9.527 MB / 302.1 MB Notification: Performance of Categorize: time 3.213e-05/0.03289, allocations: 4 kB / 354.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of Solve: time 0.0003571/0.03325, allocations: 202 kB / 354.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of Jacobian: time 0.001116/0.03438, allocations: 1.011 MB / 355.4 MB, free: 8.273 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.0001491/0.03453, allocations: 54.55 kB / 355.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of SimCode: time 0.002643/0.03718, allocations: 2.722 MB / 358.2 MB, free: 5.445 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.