Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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.001337/0.001337, allocations: 106.5 kB / 18.41 MB, free: 4.652 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.001338/0.001338, allocations: 192.3 kB / 19.35 MB, free: 3.73 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.624/1.624, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.049e-05/4.05e-05, allocations: 2.281 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004597/0.004645, allocations: 2.818 MB / 332 MB, free: 496 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.006106, allocations: 0.741 MB / 332.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.006278, allocations: 8 kB / 332.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.006443, allocations: 43.58 kB / 332.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.006677, allocations: 107.1 kB / 332.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.007008, allocations: 103.8 kB / 333 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004683/0.007486, allocations: 426.4 kB / 333.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.007727, allocations: 96.94 kB / 333.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.007956, allocations: 147.4 kB / 333.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.008143, allocations: 167.3 kB / 333.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/0.008198, allocations: 32 kB / 333.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.118e-05/0.008257, allocations: 32 kB / 333.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004026/0.008667, allocations: 0.5141 MB / 334.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.000177/0.008851, allocations: 307.5 kB / 334.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.008921, allocations: 51.81 kB / 334.8 MB, free: 13.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.365e-05/0.008981, allocations: 12 kB / 334.8 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.001444/0.01043, allocations: 1.481 MB / 336.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FunctionAlias: time 6.721e-05/0.01051, allocations: 59.88 kB / 336.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0006575/0.01117, allocations: 0.7064 MB / 337 MB, free: 11.32 MB / 286.1 MB Notification: Performance of simplify1: time 7.059e-05/0.01125, allocations: 67.91 kB / 337.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of Alias: time 0.001604/0.01286, allocations: 1.289 MB / 338.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of simplify2: time 4.927e-05/0.01292, allocations: 43.94 kB / 338.4 MB, free: 9.766 MB / 286.1 MB Notification: Performance of Events: time 0.0002221/0.01315, allocations: 148.1 kB / 338.6 MB, free: 9.617 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002845/0.01344, allocations: 217.1 kB / 338.8 MB, free: 9.391 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002369/0.01369, allocations: 205.5 kB / 339 MB, free: 9.168 MB / 286.1 MB Notification: Performance of Causalize: time 0.0009321/0.01463, allocations: 0.7894 MB / 339.8 MB, free: 8.355 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005032/0.01514, allocations: 0.561 MB / 340.3 MB, free: 7.766 MB / 286.1 MB Notification: Performance of Inline: time 0.001156/0.01631, allocations: 1.105 MB / 341.4 MB, free: 6.629 MB / 286.1 MB Notification: Performance of Partitioning: time 8.173e-05/0.0164, allocations: 71.61 kB / 341.5 MB, free: 6.551 MB / 286.1 MB Notification: Performance of Cleanup: time 0.0001395/0.01655, allocations: 127.6 kB / 341.6 MB, free: 6.422 MB / 286.1 MB Notification: Performance of Causalize: time 0.003987/0.02054, allocations: 3.353 MB / 345 MB, free: 3.047 MB / 286.1 MB Notification: Performance of Tearing: time 0.0005644/0.02113, allocations: 0.5978 MB / 345.6 MB, free: 2.352 MB / 286.1 MB Notification: Performance of Initialization: time 5.01e-07/0.02114, allocations: 0 / 345.6 MB, free: 2.352 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002796/0.02143, allocations: 322.2 kB / 345.9 MB, free: 1.988 MB / 286.1 MB Notification: Performance of Categorize: time 1.25e-05/0.02145, allocations: 4 kB / 345.9 MB, free: 1.984 MB / 286.1 MB Notification: Performance of Solve: time 0.0003261/0.02178, allocations: 202.8 kB / 346.1 MB, free: 1.785 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0003255/0.02212, allocations: 407.1 kB / 346.5 MB, free: 1.352 MB / 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 6.244e-05/0.02219, allocations: 45.11 kB / 346.5 MB, free: 1.309 MB / 286.1 MB Notification: Performance of SimCode: time 0.001398/0.02359, allocations: 1.652 MB / 348.2 MB, free: 15.63 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.