Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.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.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 115.7 kB / 18.47 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 213.1 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.437e-05, allocations: 2.281 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle): time 0.006358/0.006391, allocations: 5.247 MB / 364.7 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.009195, allocations: 1.364 MB / 366 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004918/0.009703, allocations: 15.94 kB / 366 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.01009, allocations: 142.5 kB / 366.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.01053, allocations: 206.1 kB / 366.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.01128, allocations: 319.5 kB / 366.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.01231, allocations: 1.157 MB / 367.8 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000488/0.01281, allocations: 362 kB / 368.2 MB, free: 4.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.01317, allocations: 374.6 kB / 368.6 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.01361, allocations: 406.1 kB / 369 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.01373, allocations: 95.98 kB / 369.1 MB, free: 3.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.01385, allocations: 95.94 kB / 369.1 MB, free: 3.152 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008613/0.01472, allocations: 1.363 MB / 370.5 MB, free: 1.773 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006292/0.01536, allocations: 0.835 MB / 371.3 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.01552, allocations: 159.5 kB / 371.5 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001528/0.01567, allocations: 39.81 kB / 371.5 MB, free: 0.7305 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: 174 (174) * Number of variables: 174 (174) Notification: Performance of Bindings: time 0.1951/0.2107, allocations: 3.826 MB / 375.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001575/0.2109, allocations: 162.1 kB / 375.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001811/0.2127, allocations: 1.978 MB / 377.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002472/0.213, allocations: 176.8 kB / 377.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Alias: time 0.004119/0.2171, allocations: 3.899 MB / 381.6 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001337/0.2173, allocations: 111.8 kB / 381.7 MB, free: 9.883 MB / 302.1 MB Notification: Performance of Events: time 0.0004586/0.2177, allocations: 358.5 kB / 382 MB, free: 9.684 MB / 302.1 MB Notification: Performance of Detect States: time 0.000651/0.2184, allocations: 0.6402 MB / 382.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000669/0.2191, allocations: 0.6677 MB / 383.3 MB, free: 8.816 MB / 302.1 MB Notification: Performance of Causalize: time 0.002572/0.2217, allocations: 2.402 MB / 385.7 MB, free: 7.793 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001387/0.2231, allocations: 1.481 MB / 387.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of Inline: time 0.002557/0.2256, allocations: 2.601 MB / 389.8 MB, free: 5.363 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001667/0.2258, allocations: 158.3 kB / 390 MB, free: 5.262 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0003007/0.2261, allocations: 321.9 kB / 390.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of Causalize: time 0.01452/0.2406, allocations: 13.69 MB / 404 MB, free: 12.51 MB / 318.1 MB Notification: Performance of Tearing: time 0.001339/0.242, allocations: 1.373 MB / 405.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of Initialization: time 1.292e-06/0.242, allocations: 4 kB / 405.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of Tearing: time 0.0006737/0.2427, allocations: 0.6872 MB / 406.1 MB, free: 10.35 MB / 318.1 MB Notification: Performance of Categorize: time 4.501e-05/0.2428, allocations: 7.938 kB / 406.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of Solve: time 0.0008998/0.2437, allocations: 480.2 kB / 406.5 MB, free: 9.871 MB / 318.1 MB Notification: Performance of Jacobian: time 0.00136/0.245, allocations: 1.288 MB / 407.8 MB, free: 8.539 MB / 318.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: ......... 12 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 7 (7) {capacitorLV.v, inductor.i, capacitorHV.v, mean_vLV.x, mean_iLV.x, mean_vHV.x, mean_iHV.x} * Number of discrete states: .................... 8 (8) {pwm.sawtooth.T_start, pwm.sawtooth.count, pwm.zeroOrderHold.firstTrigger, pwm.zeroOrderHold.ySample, mean_iHV.y, mean_vHV.y, mean_iLV.y, mean_vLV.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 38 (38) {dcdc.enableLogic.booleanReplicator.y, dcdc.enableLogic.internalEnable, dcdc.andCondition_p.u2, dcdc.andCondition_p.y, dcdc.andCondition_n.u2, dcdc.andCondition_n.y, dcdc.transistorLS.off, dcdc.diodeLS.off, dcdc.transistorHS.off, dcdc.diodeHS.off, pwm.fire, pwm.zeroOrderHold.sampleTrigger, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_10, $TEV_9, $TEV_8, $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: ........... 74 (scalar:72, array:2, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 150 (scalar:148, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 150 (scalar:148, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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.0001154/0.2452, allocations: 81.42 kB / 407.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of SimCode: time 0.003311/0.2485, allocations: 3.783 MB / 411.7 MB, free: 4.617 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.