Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 105.8 kB / 16.42 MB, free: 6.512 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.001288/0.001288, allocations: 192.2 kB / 17.35 MB, free: 5.754 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.264/1.264, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.686e-05, allocations: 6.219 kB / 327.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003459/0.003495, allocations: 2.916 MB / 330.1 MB, free: 388 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.004758, allocations: 0.7877 MB / 330.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.004907, allocations: 4 kB / 330.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.005077, allocations: 59.42 kB / 331 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.00527, allocations: 103.1 kB / 331.1 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.005559, allocations: 119.8 kB / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.005964, allocations: 458.2 kB / 331.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.006184, allocations: 127.6 kB / 331.8 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.006324, allocations: 151.4 kB / 331.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.006487, allocations: 171.2 kB / 332.1 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.006538, allocations: 36 kB / 332.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.29e-05/0.006586, allocations: 32 kB / 332.2 MB, free: 14.34 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003429/0.006933, allocations: 0.5564 MB / 332.7 MB, free: 13.78 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001575/0.007097, allocations: 339 kB / 333 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.007163, allocations: 59.81 kB / 333.1 MB, free: 13.38 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.951e-05/0.007199, allocations: 15.94 kB / 333.1 MB, free: 13.37 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: 75 (75) * Number of variables: 75 (75) Notification: Performance of Bindings: time 0.00131/0.008514, allocations: 1.624 MB / 334.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FunctionAlias: time 8.431e-05/0.008607, allocations: 79.81 kB / 334.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of Early Inline: time 0.000684/0.009297, allocations: 0.8 MB / 335.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of simplify1: time 7.648e-05/0.009382, allocations: 79.84 kB / 335.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of Alias: time 0.001539/0.01093, allocations: 1.464 MB / 337.2 MB, free: 8.961 MB / 286.1 MB Notification: Performance of simplify2: time 5.255e-05/0.01099, allocations: 43.94 kB / 337.2 MB, free: 8.918 MB / 286.1 MB Notification: Performance of Events: time 0.00017/0.01117, allocations: 120.2 kB / 337.3 MB, free: 8.801 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002217/0.0114, allocations: 182.3 kB / 337.5 MB, free: 8.609 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002625/0.01167, allocations: 267.7 kB / 337.8 MB, free: 8.309 MB / 286.1 MB Notification: Performance of Causalize: time 0.001209/0.01288, allocations: 1.253 MB / 339 MB, free: 7.02 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.000476/0.01337, allocations: 0.5274 MB / 339.5 MB, free: 6.465 MB / 286.1 MB Notification: Performance of Inline: time 0.0008949/0.01427, allocations: 0.9707 MB / 340.5 MB, free: 5.457 MB / 286.1 MB Notification: Performance of Partitioning: time 5.967e-05/0.01434, allocations: 58.31 kB / 340.6 MB, free: 5.391 MB / 286.1 MB Notification: Performance of Cleanup: time 0.0001098/0.01446, allocations: 113 kB / 340.7 MB, free: 5.277 MB / 286.1 MB Notification: Performance of Causalize: time 0.003166/0.01763, allocations: 3.563 MB / 344.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of Tearing: time 0.0009377/0.01858, allocations: 1.258 MB / 345.5 MB, free: 336 kB / 286.1 MB Notification: Performance of Initialization: time 9.02e-07/0.01859, allocations: 0 / 345.5 MB, free: 336 kB / 286.1 MB Notification: Performance of Tearing: time 0.0005312/0.01913, allocations: 0.6998 MB / 346.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of Categorize: time 1.329e-05/0.01915, allocations: 0 / 346.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of Solve: time 0.0002465/0.0194, allocations: 178.3 kB / 346.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003908/0.0198, allocations: 463.1 kB / 346.8 MB, free: 14.87 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 3 * 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: ............................. 1 (1) {c.v} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {$SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 26 (scalar:26, 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: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 49 (scalar:49, 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: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 55 (scalar:55, 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: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 5.323e-05/0.01986, allocations: 46.89 kB / 346.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of SimCode: time 0.001476/0.02134, allocations: 1.869 MB / 348.7 MB, free: 12.93 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.