Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 107.1 kB / 16.42 MB, free: 6.031 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.001143/0.001143, allocations: 186.6 kB / 17.35 MB, free: 5.602 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.358/1.358, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/1.946e-05, allocations: 3.547 kB / 327.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003376/0.003404, allocations: 2.817 MB / 330 MB, free: 476 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.004549, allocations: 0.7487 MB / 330.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.004672, allocations: 4 kB / 330.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.004825, allocations: 43.56 kB / 330.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.00501, allocations: 103.1 kB / 330.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.005299, allocations: 103.8 kB / 331 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003954/0.005705, allocations: 434.3 kB / 331.5 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.005898, allocations: 96.94 kB / 331.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.006082, allocations: 147.4 kB / 331.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.006261, allocations: 159.3 kB / 331.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.006312, allocations: 36 kB / 331.9 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.365e-05/0.006362, allocations: 32 kB / 331.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003865/0.006753, allocations: 0.514 MB / 332.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001612/0.006921, allocations: 307.5 kB / 332.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.225e-05/0.006988, allocations: 55.81 kB / 332.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.907e-05/0.007022, allocations: 8 kB / 332.8 MB, free: 13.68 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.001287/0.008314, allocations: 1.481 MB / 334.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FunctionAlias: time 7.397e-05/0.008394, allocations: 63.89 kB / 334.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0006002/0.009001, allocations: 0.7025 MB / 335 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simplify1: time 6.511e-05/0.009074, allocations: 71.92 kB / 335.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of Alias: time 0.001238/0.01032, allocations: 1.16 MB / 336.3 MB, free: 9.91 MB / 286.1 MB Notification: Performance of simplify2: time 4.622e-05/0.01037, allocations: 43.94 kB / 336.3 MB, free: 9.867 MB / 286.1 MB Notification: Performance of Events: time 0.0001986/0.01058, allocations: 144.7 kB / 336.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002438/0.01083, allocations: 221.2 kB / 336.7 MB, free: 9.492 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002124/0.01105, allocations: 209.4 kB / 336.9 MB, free: 9.266 MB / 286.1 MB Notification: Performance of Causalize: time 0.001104/0.01216, allocations: 1.103 MB / 338 MB, free: 8.145 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004719/0.01265, allocations: 0.5569 MB / 338.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of Inline: time 0.001054/0.01371, allocations: 1.123 MB / 339.7 MB, free: 6.402 MB / 286.1 MB Notification: Performance of Partitioning: time 7.768e-05/0.0138, allocations: 63.62 kB / 339.7 MB, free: 6.336 MB / 286.1 MB Notification: Performance of Cleanup: time 0.0001058/0.01391, allocations: 123.7 kB / 339.8 MB, free: 6.207 MB / 286.1 MB Notification: Performance of Causalize: time 0.003956/0.01787, allocations: 4.34 MB / 344.2 MB, free: 1.941 MB / 286.1 MB Notification: Performance of Tearing: time 0.0004797/0.01836, allocations: 0.5942 MB / 344.8 MB, free: 1.25 MB / 286.1 MB Notification: Performance of Initialization: time 2.354e-06/0.01837, allocations: 0 / 344.8 MB, free: 1.25 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002196/0.0186, allocations: 318.1 kB / 345.1 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of Categorize: time 2.022e-05/0.01863, allocations: 4 kB / 345.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of Solve: time 0.0002873/0.01892, allocations: 206.9 kB / 345.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0003156/0.01924, allocations: 406.8 kB / 345.7 MB, free: 256 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: ........... 26 (scalar:26, 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: ........... 60 (scalar:60, 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: ........... 62 (scalar:62, 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 4.567e-05/0.0193, allocations: 48.47 kB / 345.7 MB, free: 220 kB / 286.1 MB Notification: Performance of SimCode: time 0.001205/0.02051, allocations: 1.661 MB / 347.4 MB, free: 14.53 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.