Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.00119/0.00119, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.00118/0.00118, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.267/1.267, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.088e-05, allocations: 2.281 kB / 327.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00508/0.005109, allocations: 4.672 MB / 331.9 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.007197, allocations: 1.345 MB / 333.2 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.007448, allocations: 23.88 kB / 333.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005461/0.008001, allocations: 218.4 kB / 333.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000629/0.008641, allocations: 338.1 kB / 333.8 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.009005, allocations: 215.6 kB / 334 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.01055, allocations: 1.804 MB / 335.8 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006644/0.01122, allocations: 0.5648 MB / 336.4 MB, free: 10.11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007168/0.01195, allocations: 0.5921 MB / 337 MB, free: 9.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006022/0.01256, allocations: 0.5996 MB / 337.6 MB, free: 8.918 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.01269, allocations: 99.94 kB / 337.7 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.01283, allocations: 96 kB / 337.7 MB, free: 8.727 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001078/0.01392, allocations: 1.471 MB / 339.2 MB, free: 7.242 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006113/0.01454, allocations: 0.9694 MB / 340.2 MB, free: 6.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.0147, allocations: 139.6 kB / 340.3 MB, free: 6.125 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.229e-05/0.0148, allocations: 35.86 kB / 340.4 MB, free: 6.09 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.003797/0.01861, allocations: 4.6 MB / 345 MB, free: 1.34 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002624/0.01888, allocations: 251.6 kB / 345.2 MB, free: 1.09 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001726/0.02061, allocations: 2.037 MB / 347.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001186/0.02074, allocations: 115.8 kB / 347.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of Alias: time 0.002244/0.02299, allocations: 2.28 MB / 349.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simplify2: time 8.439e-05/0.02308, allocations: 91.88 kB / 349.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Events: time 0.0003149/0.0234, allocations: 303.4 kB / 350 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006754/0.02409, allocations: 0.6352 MB / 350.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008258/0.02492, allocations: 0.8596 MB / 351.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Causalize: time 0.006631/0.03157, allocations: 7.471 MB / 359 MB, free: 3.141 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001784/0.03337, allocations: 1.96 MB / 360.9 MB, free: 1.148 MB / 302.1 MB Notification: Performance of Inline: time 0.003617/0.03699, allocations: 3.65 MB / 364.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001832/0.0372, allocations: 183.7 kB / 364.8 MB, free: 13.24 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001401/0.03734, allocations: 159.8 kB / 364.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of Causalize: time 0.1606/0.198, allocations: 15.17 MB / 380.1 MB, free: 39.37 MB / 318.1 MB Notification: Performance of Tearing: time 0.005486/0.2035, allocations: 4.778 MB / 384.9 MB, free: 38.86 MB / 318.1 MB Notification: Performance of Initialization: time 1.824e-06/0.2036, allocations: 0 / 384.9 MB, free: 38.86 MB / 318.1 MB Notification: Performance of Tearing: time 0.004721/0.2083, allocations: 4.777 MB / 389.7 MB, free: 37.97 MB / 318.1 MB Notification: Performance of Categorize: time 3.655e-05/0.2083, allocations: 8.422 kB / 389.7 MB, free: 37.97 MB / 318.1 MB Notification: Performance of Solve: time 0.0009098/0.2093, allocations: 398.3 kB / 390.1 MB, free: 37.93 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0136/0.2229, allocations: 14.1 MB / 404.2 MB, free: 31.35 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 0.0001033/0.223, allocations: 53.33 kB / 404.2 MB, free: 31.33 MB / 318.1 MB Notification: Performance of SimCode: time 0.008455/0.2315, allocations: 12.23 MB / 416.4 MB, free: 23.29 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.