Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001216/0.001216, allocations: 116.3 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 206.3 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.771e-05, allocations: 6.219 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003237/0.003263, allocations: 2.952 MB / 362.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.004379, allocations: 0.771 MB / 363.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.004511, allocations: 12 kB / 363.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.004654, allocations: 55.44 kB / 363.2 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.00484, allocations: 107.1 kB / 363.3 MB, free: 9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.005094, allocations: 119.8 kB / 363.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.005501, allocations: 458 kB / 363.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.005725, allocations: 143.5 kB / 364 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.005876, allocations: 139.6 kB / 364.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.006036, allocations: 175.2 kB / 364.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.62e-05/0.006108, allocations: 32 kB / 364.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.231e-05/0.006166, allocations: 32 kB / 364.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003888/0.00656, allocations: 0.5526 MB / 364.9 MB, free: 7.359 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001716/0.006739, allocations: 343 kB / 365.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.006798, allocations: 59.81 kB / 365.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.461e-05/0.006837, allocations: 8 kB / 365.3 MB, free: 6.953 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: 75 (75) * Number of variables: 75 (75) Notification: Performance of Bindings: time 0.001354/0.008196, allocations: 1.632 MB / 366.9 MB, free: 5.207 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.257e-05/0.008264, allocations: 71.88 kB / 367 MB, free: 5.137 MB / 302.1 MB Notification: Performance of Early Inline: time 0.000644/0.008914, allocations: 0.7844 MB / 367.8 MB, free: 4.324 MB / 302.1 MB Notification: Performance of simplify1: time 6.565e-05/0.008987, allocations: 79.91 kB / 367.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of Alias: time 0.001699/0.01069, allocations: 1.654 MB / 369.5 MB, free: 2.363 MB / 302.1 MB Notification: Performance of simplify2: time 4.87e-05/0.01075, allocations: 55.94 kB / 369.6 MB, free: 2.309 MB / 302.1 MB Notification: Performance of Events: time 0.0001501/0.01091, allocations: 112 kB / 369.7 MB, free: 2.199 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001864/0.0111, allocations: 173.2 kB / 369.8 MB, free: 2.012 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002443/0.01135, allocations: 259.8 kB / 370.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009273/0.01229, allocations: 0.896 MB / 371 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.000433/0.01273, allocations: 0.5235 MB / 371.5 MB, free: 240 kB / 302.1 MB Notification: Performance of Inline: time 0.1601/0.1729, allocations: 0.9438 MB / 372.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of Partitioning: time 8.169e-05/0.173, allocations: 59.81 kB / 372.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001145/0.1731, allocations: 107.8 kB / 372.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of Causalize: time 0.003336/0.1764, allocations: 2.927 MB / 375.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Tearing: time 0.0008014/0.1773, allocations: 1.255 MB / 376.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of Initialization: time 8.01e-07/0.1773, allocations: 0 / 376.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004006/0.1777, allocations: 0.666 MB / 377.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Categorize: time 1.852e-05/0.1777, allocations: 6.047 kB / 377.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Solve: time 0.0002839/0.178, allocations: 152.9 kB / 377.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003624/0.1784, allocations: 474 kB / 378.1 MB, free: 13.09 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: ........... 53 (scalar:53, 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.053e-05/0.1784, allocations: 39.94 kB / 378.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of SimCode: time 0.001297/0.1797, allocations: 1.834 MB / 380 MB, free: 12.07 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.