Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 116.3 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 210.3 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.397e-05, allocations: 2.281 kB / 359.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004235/0.00427, allocations: 3.48 MB / 362.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.005781, allocations: 0.9425 MB / 363.8 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.005939, allocations: 8 kB / 363.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.00615, allocations: 63.3 kB / 363.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.006448, allocations: 130.8 kB / 364 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.006824, allocations: 167.7 kB / 364.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005498/0.007384, allocations: 0.5838 MB / 364.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.007688, allocations: 174.1 kB / 364.9 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.007952, allocations: 203.2 kB / 365.1 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.008183, allocations: 218.9 kB / 365.3 MB, free: 7.023 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.751e-05/0.008247, allocations: 48 kB / 365.3 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.008356, allocations: 52 kB / 365.4 MB, free: 6.926 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004781/0.00884, allocations: 0.7376 MB / 366.1 MB, free: 6.18 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002286/0.009076, allocations: 473 kB / 366.6 MB, free: 5.711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.618e-05/0.009168, allocations: 83.75 kB / 366.7 MB, free: 5.629 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.292e-05/0.009247, allocations: 15.94 kB / 366.7 MB, free: 5.613 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: 88 (88) * Number of variables: 88 (87) Notification: Performance of Bindings: time 0.001734/0.01099, allocations: 2.168 MB / 368.9 MB, free: 3.328 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001063/0.0111, allocations: 99.8 kB / 369 MB, free: 3.23 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001003/0.01211, allocations: 1.171 MB / 370.1 MB, free: 2.031 MB / 302.1 MB Notification: Performance of simplify1: time 8.656e-05/0.01221, allocations: 95.89 kB / 370.2 MB, free: 1.938 MB / 302.1 MB Notification: Performance of Alias: time 0.1961/0.2083, allocations: 2.094 MB / 372.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001439/0.2085, allocations: 58.42 kB / 372.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of Events: time 0.0002786/0.2087, allocations: 174.3 kB / 372.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003599/0.2091, allocations: 306.8 kB / 372.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0004499/0.2096, allocations: 332.5 kB / 373.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of Causalize: time 0.001671/0.2112, allocations: 1.16 MB / 374.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007958/0.212, allocations: 0.7012 MB / 375 MB, free: 14.31 MB / 302.1 MB Notification: Performance of Inline: time 0.001539/0.2136, allocations: 1.491 MB / 376.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of Partitioning: time 9.668e-05/0.2137, allocations: 87.45 kB / 376.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Cleanup: time 6.73e-05/0.2138, allocations: 58.7 kB / 376.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of Causalize: time 0.004454/0.2182, allocations: 3.701 MB / 380.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004884/0.2187, allocations: 0.5058 MB / 380.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Initialization: time 2.064e-06/0.2188, allocations: 1 kB / 380.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004304/0.2192, allocations: 0.5158 MB / 381.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Categorize: time 2.172e-05/0.2192, allocations: 2.625 kB / 381.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Solve: time 0.0003965/0.2196, allocations: 208.4 kB / 381.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0005679/0.2202, allocations: 0.5781 MB / 382.2 MB, free: 11.63 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: ................. 13 (13) {rectifier.diode_p.off, rectifier.diode_n.off, $SEV_2, $SEV_1, $SEV_0, $TEV_7, $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: ........... 31 (scalar:31, 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: ........... 78 (scalar:78, 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 6.291e-05/0.2203, allocations: 35.08 kB / 382.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of SimCode: time 0.002209/0.2225, allocations: 2.28 MB / 384.5 MB, free: 10.26 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.