Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001219/0.00122, allocations: 106.6 kB / 16.42 MB, free: 6.516 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.001131/0.001131, allocations: 189.9 kB / 17.36 MB, free: 5.75 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.282/1.282, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.295e-05, allocations: 10.16 kB / 327.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003337/0.003369, allocations: 2.816 MB / 330 MB, free: 488 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.004588, allocations: 0.7489 MB / 330.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.004717, allocations: 4 kB / 330.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.00486, allocations: 51.5 kB / 330.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.00505, allocations: 91.19 kB / 330.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.005322, allocations: 107.6 kB / 331 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003945/0.005726, allocations: 430.4 kB / 331.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.005907, allocations: 92.92 kB / 331.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.006102, allocations: 151.4 kB / 331.7 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.006267, allocations: 159.3 kB / 331.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.00632, allocations: 36 kB / 331.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.236e-05/0.006379, allocations: 32 kB / 331.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003675/0.006751, allocations: 0.5101 MB / 332.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001545/0.006912, allocations: 311.4 kB / 332.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.00697, allocations: 51.88 kB / 332.8 MB, free: 13.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.029e-05/0.007005, allocations: 8 kB / 332.8 MB, free: 13.7 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.001231/0.008242, allocations: 1.481 MB / 334.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FunctionAlias: time 7.142e-05/0.00832, allocations: 67.81 kB / 334.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0005812/0.008908, allocations: 0.6986 MB / 335 MB, free: 11.32 MB / 286.1 MB Notification: Performance of simplify1: time 5.854e-05/0.008973, allocations: 63.92 kB / 335.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of Alias: time 0.00118/0.01016, allocations: 1.16 MB / 336.3 MB, free: 9.938 MB / 286.1 MB Notification: Performance of simplify2: time 4.205e-05/0.01021, allocations: 43.94 kB / 336.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of Events: time 0.0001953/0.01041, allocations: 133 kB / 336.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003746/0.0108, allocations: 225.2 kB / 336.6 MB, free: 9.527 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002118/0.01102, allocations: 217.4 kB / 336.9 MB, free: 9.293 MB / 286.1 MB Notification: Performance of Causalize: time 0.00104/0.01207, allocations: 1.086 MB / 337.9 MB, free: 8.188 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004724/0.01255, allocations: 0.5611 MB / 338.5 MB, free: 7.598 MB / 286.1 MB Notification: Performance of Inline: time 0.0009894/0.01354, allocations: 1.102 MB / 339.6 MB, free: 6.461 MB / 286.1 MB Notification: Performance of Partitioning: time 7.035e-05/0.01362, allocations: 67.62 kB / 339.7 MB, free: 6.391 MB / 286.1 MB Notification: Performance of Cleanup: time 0.0001037/0.01373, allocations: 127.6 kB / 339.8 MB, free: 6.258 MB / 286.1 MB Notification: Performance of Causalize: time 0.003722/0.01746, allocations: 4.326 MB / 344.1 MB, free: 2.012 MB / 286.1 MB Notification: Performance of Tearing: time 0.0006392/0.01811, allocations: 0.7694 MB / 344.9 MB, free: 1.145 MB / 286.1 MB Notification: Performance of Initialization: time 7.52e-07/0.01812, allocations: 0 / 344.9 MB, free: 1.145 MB / 286.1 MB Notification: Performance of Tearing: time 0.0003209/0.01845, allocations: 418 kB / 345.3 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of Categorize: time 1.222e-05/0.01847, allocations: 0 / 345.3 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of Solve: time 0.0002852/0.01876, allocations: 183.9 kB / 345.5 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0003816/0.01916, allocations: 451.9 kB / 345.9 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 7.305e-05/0.01924, allocations: 44.06 kB / 346 MB, free: 15.99 MB / 302.1 MB Notification: Performance of SimCode: time 0.001346/0.02059, allocations: 1.717 MB / 347.7 MB, free: 14.25 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.