Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.00122/0.00122, allocations: 106.4 kB / 16.42 MB, free: 6.418 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.001254/0.001254, allocations: 187.2 kB / 17.36 MB, free: 5.684 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.35/1.35, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.679e-05, allocations: 10.16 kB / 327.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003689/0.003724, allocations: 2.812 MB / 330 MB, free: 460 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.004889, allocations: 0.741 MB / 330.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.005034, allocations: 8 kB / 330.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.00519, allocations: 51.5 kB / 330.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.005371, allocations: 91.19 kB / 330.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.005662, allocations: 107.8 kB / 331 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.006077, allocations: 430.3 kB / 331.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.006274, allocations: 92.94 kB / 331.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.006477, allocations: 151.3 kB / 331.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.006653, allocations: 167.3 kB / 331.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.006711, allocations: 32 kB / 331.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.006763, allocations: 32 kB / 331.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003689/0.007137, allocations: 0.514 MB / 332.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001573/0.007301, allocations: 307.5 kB / 332.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.319e-05/0.007369, allocations: 51.81 kB / 332.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.482e-05/0.007399, allocations: 4 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.001318/0.008721, allocations: 1.477 MB / 334.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FunctionAlias: time 6.447e-05/0.008792, allocations: 67.81 kB / 334.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0006458/0.009444, allocations: 0.6986 MB / 335 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simplify1: time 6.63e-05/0.009518, allocations: 67.92 kB / 335.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of Alias: time 0.00129/0.01081, allocations: 1.156 MB / 336.2 MB, free: 9.918 MB / 286.1 MB Notification: Performance of simplify2: time 4.636e-05/0.01087, allocations: 47.94 kB / 336.3 MB, free: 9.871 MB / 286.1 MB Notification: Performance of Events: time 0.0001997/0.01108, allocations: 141 kB / 336.4 MB, free: 9.73 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002525/0.01134, allocations: 213.1 kB / 336.6 MB, free: 9.508 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002333/0.01158, allocations: 221.4 kB / 336.9 MB, free: 9.27 MB / 286.1 MB Notification: Performance of Causalize: time 0.00112/0.01271, allocations: 1.09 MB / 337.9 MB, free: 8.16 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005479/0.01326, allocations: 0.565 MB / 338.5 MB, free: 7.566 MB / 286.1 MB Notification: Performance of Inline: time 0.001099/0.01437, allocations: 1.09 MB / 339.6 MB, free: 6.441 MB / 286.1 MB Notification: Performance of Partitioning: time 7.886e-05/0.01446, allocations: 67.61 kB / 339.7 MB, free: 6.371 MB / 286.1 MB Notification: Performance of Cleanup: time 0.0001223/0.01459, allocations: 123.7 kB / 339.8 MB, free: 6.242 MB / 286.1 MB Notification: Performance of Causalize: time 0.004031/0.01862, allocations: 4.337 MB / 344.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of Tearing: time 0.0007812/0.01942, allocations: 0.7655 MB / 344.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of Initialization: time 6.51e-07/0.01943, allocations: 0 / 344.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of Tearing: time 0.0003738/0.01981, allocations: 414 kB / 345.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of Categorize: time 1.404e-05/0.01983, allocations: 5.5 kB / 345.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of Solve: time 0.0002845/0.02012, allocations: 183.9 kB / 345.5 MB, free: 492 kB / 286.1 MB Notification: Performance of Jacobian: time 0.000391/0.02052, allocations: 451.9 kB / 345.9 MB, free: 4 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.104e-05/0.0206, allocations: 48.78 kB / 346 MB, free: 15.96 MB / 302.1 MB Notification: Performance of SimCode: time 0.001368/0.02197, allocations: 1.717 MB / 347.7 MB, free: 14.22 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.