Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 111.4 kB / 18.41 MB, free: 4.668 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.001296/0.001296, allocations: 193.4 kB / 19.35 MB, free: 3.742 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.435/1.435, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.596e-05, allocations: 2.281 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005993/0.006028, allocations: 4.663 MB / 333.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.00924, allocations: 1.341 MB / 335.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004056/0.009667, allocations: 27.75 kB / 335.2 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007145/0.01039, allocations: 218.5 kB / 335.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008706/0.01127, allocations: 346 kB / 335.8 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.01171, allocations: 215.6 kB / 336 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.0137, allocations: 1.804 MB / 337.8 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007373/0.01445, allocations: 0.5609 MB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006645/0.01513, allocations: 0.5999 MB / 338.9 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006088/0.01574, allocations: 0.5996 MB / 339.5 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.01588, allocations: 96 kB / 339.6 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.01606, allocations: 99.94 kB / 339.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001157/0.01723, allocations: 1.467 MB / 341.2 MB, free: 7.242 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005867/0.01782, allocations: 0.9732 MB / 342.2 MB, free: 6.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.01797, allocations: 139.6 kB / 342.3 MB, free: 6.113 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001378/0.01811, allocations: 35.86 kB / 342.3 MB, free: 6.078 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: 248 (140) * Number of variables: 248 (131) Notification: Performance of Bindings: time 0.004312/0.02243, allocations: 4.604 MB / 346.9 MB, free: 1.324 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0003649/0.02281, allocations: 243.6 kB / 347.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of Early Inline: time 0.002218/0.02504, allocations: 2.037 MB / 349.2 MB, free: 15 MB / 302.1 MB Notification: Performance of simplify1: time 0.000168/0.02522, allocations: 119.8 kB / 349.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Alias: time 0.003185/0.02841, allocations: 2.446 MB / 351.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simplify2: time 0.000112/0.02854, allocations: 91.86 kB / 351.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of Events: time 0.0003663/0.02891, allocations: 299.5 kB / 352.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Detect States: time 0.0008883/0.02981, allocations: 0.6391 MB / 352.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0009834/0.03081, allocations: 0.8596 MB / 353.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Causalize: time 0.006237/0.03705, allocations: 5.53 MB / 359.2 MB, free: 4.754 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.002036/0.0391, allocations: 1.959 MB / 361.2 MB, free: 2.762 MB / 302.1 MB Notification: Performance of Inline: time 0.004058/0.04317, allocations: 3.641 MB / 364.8 MB, free: 15.06 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002248/0.04341, allocations: 195.6 kB / 365 MB, free: 14.86 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001736/0.04359, allocations: 155.8 kB / 365.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of Causalize: time 0.01531/0.05891, allocations: 13.22 MB / 378.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of Tearing: time 0.2206/0.2796, allocations: 4.75 MB / 383.1 MB, free: 40.77 MB / 318.1 MB Notification: Performance of Initialization: time 3.196e-06/0.2796, allocations: 0 / 383.1 MB, free: 40.77 MB / 318.1 MB Notification: Performance of Tearing: time 0.005208/0.2848, allocations: 4.767 MB / 387.9 MB, free: 39.91 MB / 318.1 MB Notification: Performance of Categorize: time 4.514e-05/0.2849, allocations: 4.656 kB / 387.9 MB, free: 39.91 MB / 318.1 MB Notification: Performance of Solve: time 0.001109/0.286, allocations: 397.7 kB / 388.3 MB, free: 39.88 MB / 318.1 MB Notification: Performance of Jacobian: time 0.01476/0.3008, allocations: 14.06 MB / 402.3 MB, free: 33.6 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * 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: ................. 23 (13) {rectifier.diode_p.idealDiode.off, rectifier.diode_n.idealDiode.off, $SEV_4[$i1], $SEV_3[$i1], $SEV_2[$i1], $SEV_1[$i1], $SEV_0, $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:31, array:14, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 9 (generic: 9, 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: ........... 75 (scalar:56, array:19, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 33 (generic: 33, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 8.58e-05/0.3009, allocations: 57.89 kB / 402.4 MB, free: 33.57 MB / 318.1 MB Notification: Performance of SimCode: time 0.01022/0.3111, allocations: 12.22 MB / 414.6 MB, free: 25.55 MB / 318.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.