Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,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.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009153/0.0009152, allocations: 108 kB / 18.41 MB, free: 4.664 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.0009578/0.0009578, allocations: 194.6 kB / 19.35 MB, free: 3.742 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.352/1.352, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.6e-05, allocations: 3.125 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004274/0.004309, allocations: 2.813 MB / 332 MB, free: 488 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.006069, allocations: 0.7488 MB / 332.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003311/0.006414, allocations: 7.938 kB / 332.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.00662, allocations: 43.56 kB / 332.8 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.006987, allocations: 95.19 kB / 332.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.007384, allocations: 107.8 kB / 333 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000577/0.007972, allocations: 426.3 kB / 333.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.008198, allocations: 92.94 kB / 333.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.008501, allocations: 151.4 kB / 333.7 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.008735, allocations: 163.3 kB / 333.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.239e-05/0.008806, allocations: 36 kB / 333.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.531e-05/0.008878, allocations: 32 kB / 333.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004024/0.009287, allocations: 0.5101 MB / 334.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002245/0.009519, allocations: 303.5 kB / 334.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.009637, allocations: 55.81 kB / 334.8 MB, free: 13.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.609e-05/0.00971, allocations: 8 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.01116, allocations: 1.481 MB / 336.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FunctionAlias: time 9.396e-05/0.01126, allocations: 63.88 kB / 336.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0006527/0.01192, allocations: 0.6947 MB / 337 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simplify1: time 8.747e-05/0.01202, allocations: 75.91 kB / 337.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of Alias: time 0.001653/0.01368, allocations: 1.273 MB / 338.3 MB, free: 9.824 MB / 286.1 MB Notification: Performance of simplify2: time 8.462e-05/0.01378, allocations: 51.88 kB / 338.4 MB, free: 9.773 MB / 286.1 MB Notification: Performance of Events: time 0.0002319/0.01402, allocations: 148.2 kB / 338.5 MB, free: 9.625 MB / 286.1 MB Notification: Performance of Detect States: time 0.0004662/0.01449, allocations: 217.1 kB / 338.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002772/0.01478, allocations: 205.5 kB / 339 MB, free: 9.176 MB / 286.1 MB Notification: Performance of Causalize: time 0.0009967/0.01578, allocations: 0.7813 MB / 339.7 MB, free: 8.371 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005284/0.01632, allocations: 0.5494 MB / 340.3 MB, free: 7.793 MB / 286.1 MB Notification: Performance of Inline: time 0.001235/0.01756, allocations: 1.112 MB / 341.4 MB, free: 6.652 MB / 286.1 MB Notification: Performance of Partitioning: time 8.895e-05/0.01766, allocations: 67.56 kB / 341.5 MB, free: 6.578 MB / 286.1 MB Notification: Performance of Cleanup: time 0.0001717/0.01784, allocations: 123.7 kB / 341.6 MB, free: 6.453 MB / 286.1 MB Notification: Performance of Causalize: time 0.004287/0.02214, allocations: 3.334 MB / 344.9 MB, free: 3.098 MB / 286.1 MB Notification: Performance of Tearing: time 0.0007456/0.0229, allocations: 0.7926 MB / 345.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of Initialization: time 1.633e-06/0.02291, allocations: 0 / 345.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of Tearing: time 0.0003528/0.02327, allocations: 414 kB / 346.1 MB, free: 1.754 MB / 286.1 MB Notification: Performance of Categorize: time 1.578e-05/0.0233, allocations: 0 / 346.1 MB, free: 1.754 MB / 286.1 MB Notification: Performance of Solve: time 0.0003576/0.02366, allocations: 183.9 kB / 346.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0004341/0.02411, allocations: 450.8 kB / 346.7 MB, free: 1.098 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: ........... 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 8.096e-05/0.0242, allocations: 40.86 kB / 346.8 MB, free: 1.059 MB / 286.1 MB Notification: Performance of SimCode: time 0.001546/0.02575, allocations: 1.693 MB / 348.5 MB, free: 15.33 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.