Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001035/0.001035, allocations: 111.8 kB / 17.75 MB, free: 5.336 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.00094/0.00094, allocations: 185.8 kB / 18.68 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/1.942e-05, allocations: 2.281 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005248/0.005276, allocations: 4.72 MB / 356.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.007559, allocations: 1.301 MB / 358 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.007859, allocations: 27.88 kB / 358 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005987/0.008472, allocations: 218.4 kB / 358.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006878/0.009171, allocations: 346 kB / 358.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.009527, allocations: 203.7 kB / 358.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.01126, allocations: 1.827 MB / 360.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008028/0.01207, allocations: 0.6246 MB / 361.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/0.01268, allocations: 0.596 MB / 361.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007639/0.01346, allocations: 0.6152 MB / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.0136, allocations: 100 kB / 362.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.01378, allocations: 100 kB / 362.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001203/0.01499, allocations: 1.49 MB / 364.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006601/0.01565, allocations: 0.981 MB / 365.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.01584, allocations: 147.6 kB / 365.2 MB, free: 5.918 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001529/0.016, allocations: 27.92 kB / 365.2 MB, free: 5.891 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: 251 (147) * Number of variables: 251 (134) Notification: Performance of Bindings: time 0.003768/0.01977, allocations: 4.677 MB / 369.9 MB, free: 1.062 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002592/0.02004, allocations: 221.3 kB / 370.1 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of Early Inline: time 0.2081/0.2281, allocations: 2.102 MB / 372.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002064/0.2284, allocations: 119.4 kB / 372.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of Alias: time 0.003159/0.2316, allocations: 2.502 MB / 374.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001344/0.2317, allocations: 92.98 kB / 374.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Events: time 0.0003914/0.2321, allocations: 313.4 kB / 375.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006442/0.2328, allocations: 0.6407 MB / 375.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0009104/0.2337, allocations: 0.8898 MB / 376.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Causalize: time 0.006726/0.2404, allocations: 5.603 MB / 382.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.002037/0.2425, allocations: 2.025 MB / 384.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of Inline: time 0.003838/0.2463, allocations: 3.742 MB / 388.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000206/0.2466, allocations: 187.2 kB / 388.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001708/0.2467, allocations: 162.8 kB / 388.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of Causalize: time 0.01215/0.2589, allocations: 13.4 MB / 401.9 MB, free: 1.043 MB / 302.1 MB Notification: Performance of Tearing: time 0.004736/0.2637, allocations: 4.78 MB / 406.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of Initialization: time 1.553e-06/0.2637, allocations: 0 / 406.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of Tearing: time 0.004644/0.2684, allocations: 4.793 MB / 411.5 MB, free: 8.152 MB / 318.1 MB Notification: Performance of Categorize: time 3.723e-05/0.2684, allocations: 8 kB / 411.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of Solve: time 0.0008645/0.2693, allocations: 397.4 kB / 411.9 MB, free: 7.828 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0166/0.2859, allocations: 14.11 MB / 426 MB, free: 9.883 MB / 334.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_last, 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.0001065/0.286, allocations: 46.36 kB / 426 MB, free: 9.844 MB / 334.1 MB Notification: Performance of SimCode: time 0.01276/0.2988, allocations: 12.37 MB / 438.4 MB, free: 13.65 MB / 350.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.