Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, 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.001335/0.001335, 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 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.011e-05, allocations: 6.219 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003524/0.003552, allocations: 2.805 MB / 331.3 MB, free: 496 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.004797, allocations: 0.7488 MB / 332.1 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.004934, allocations: 4 kB / 332.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.00508, allocations: 51.5 kB / 332.2 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.005263, allocations: 95.17 kB / 332.2 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.005537, allocations: 103.8 kB / 332.3 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004038/0.005952, allocations: 438.3 kB / 332.8 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.006137, allocations: 88.95 kB / 332.9 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.006332, allocations: 147.4 kB / 333 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.00651, allocations: 159.4 kB / 333.2 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.509e-05/0.006563, allocations: 39.98 kB / 333.2 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.458e-05/0.006615, allocations: 35.94 kB / 333.2 MB, free: 14.59 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003717/0.006991, allocations: 0.5101 MB / 333.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001562/0.007154, allocations: 307.5 kB / 334 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.007226, allocations: 51.81 kB / 334.1 MB, free: 13.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.899e-05/0.00726, allocations: 8 kB / 334.1 MB, free: 13.71 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: 55 (55) * Number of variables: 55 (55) Notification: Performance of Bindings: time 0.00128/0.008544, allocations: 1.481 MB / 335.6 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FunctionAlias: time 7.007e-05/0.00862, allocations: 63.83 kB / 335.6 MB, free: 12.05 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0005989/0.009225, allocations: 0.6986 MB / 336.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simplify1: time 6.757e-05/0.009298, allocations: 63.92 kB / 336.4 MB, free: 11.27 MB / 286.1 MB Notification: Performance of Alias: time 0.001249/0.01055, allocations: 1.161 MB / 337.6 MB, free: 9.945 MB / 286.1 MB Notification: Performance of simplify2: time 5.247e-05/0.01061, allocations: 47.92 kB / 337.6 MB, free: 9.898 MB / 286.1 MB Notification: Performance of Events: time 0.0002046/0.01082, allocations: 140.4 kB / 337.8 MB, free: 9.758 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002686/0.0111, allocations: 232 kB / 338 MB, free: 9.52 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002154/0.01133, allocations: 209.4 kB / 338.2 MB, free: 9.293 MB / 286.1 MB Notification: Performance of Causalize: time 0.00108/0.01241, allocations: 1.09 MB / 339.3 MB, free: 8.184 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004877/0.01291, allocations: 0.5572 MB / 339.8 MB, free: 7.598 MB / 286.1 MB Notification: Performance of Inline: time 0.001023/0.01394, allocations: 1.094 MB / 340.9 MB, free: 6.469 MB / 286.1 MB Notification: Performance of Partitioning: time 6.732e-05/0.01401, allocations: 71.61 kB / 341 MB, free: 6.395 MB / 286.1 MB Notification: Performance of Cleanup: time 0.0001162/0.01414, allocations: 119.7 kB / 341.1 MB, free: 6.27 MB / 286.1 MB Notification: Performance of Causalize: time 0.003821/0.01796, allocations: 4.334 MB / 345.4 MB, free: 2.016 MB / 286.1 MB Notification: Performance of Tearing: time 0.0006605/0.01864, allocations: 0.7665 MB / 346.2 MB, free: 1.152 MB / 286.1 MB Notification: Performance of Initialization: time 6.92e-07/0.01865, allocations: 0 / 346.2 MB, free: 1.152 MB / 286.1 MB Notification: Performance of Tearing: time 0.000331/0.01898, allocations: 422 kB / 346.6 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of Categorize: time 1.304e-05/0.01901, allocations: 3.984 kB / 346.6 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of Solve: time 0.0002874/0.0193, allocations: 175.9 kB / 346.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0003742/0.01968, allocations: 459.9 kB / 347.2 MB, free: 28 kB / 286.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: ......... 2 * 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: .................... 2 (2) {vIn.signalSource.count, vIn.signalSource.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {$SEV_8, $SEV_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: ........... 22 (scalar:22, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 56 (scalar:56, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ........... 58 (scalar:58, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.371e-05/0.01975, allocations: 45 kB / 347.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of SimCode: time 0.001286/0.02104, allocations: 1.72 MB / 349 MB, free: 14.24 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.