Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001014/0.001015, allocations: 109.2 kB / 16.42 MB, free: 6.473 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.0009247/0.0009249, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.275/1.275, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.231e-05, allocations: 2.281 kB / 327.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003311/0.003341, allocations: 2.805 MB / 330 MB, free: 476 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.004505, allocations: 0.7527 MB / 330.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.004629, allocations: 4 kB / 330.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.004778, allocations: 43.52 kB / 330.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.004957, allocations: 99.17 kB / 330.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.005241, allocations: 111.7 kB / 331 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.005638, allocations: 426.4 kB / 331.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.005833, allocations: 92.94 kB / 331.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.006016, allocations: 151.3 kB / 331.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.006191, allocations: 167.3 kB / 331.8 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.006243, allocations: 32 kB / 331.9 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.412e-05/0.006292, allocations: 32 kB / 331.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003661/0.006664, allocations: 0.514 MB / 332.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001593/0.00683, allocations: 307.5 kB / 332.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.00689, allocations: 55.81 kB / 332.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.766e-05/0.006923, 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.001292/0.008219, allocations: 1.485 MB / 334.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FunctionAlias: time 7.114e-05/0.008296, allocations: 63.89 kB / 334.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0006108/0.008913, allocations: 0.7103 MB / 335 MB, free: 11.29 MB / 286.1 MB Notification: Performance of simplify1: time 6.146e-05/0.008981, allocations: 71.91 kB / 335.1 MB, free: 11.21 MB / 286.1 MB Notification: Performance of Alias: time 0.00123/0.01022, allocations: 1.149 MB / 336.3 MB, free: 9.906 MB / 286.1 MB Notification: Performance of simplify2: time 4.75e-05/0.01027, allocations: 47.94 kB / 336.3 MB, free: 9.859 MB / 286.1 MB Notification: Performance of Events: time 0.0001993/0.01048, allocations: 140.2 kB / 336.4 MB, free: 9.719 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002529/0.01074, allocations: 225.1 kB / 336.7 MB, free: 9.484 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002128/0.01096, allocations: 213.8 kB / 336.9 MB, free: 9.254 MB / 286.1 MB Notification: Performance of Causalize: time 0.001047/0.01202, allocations: 1.098 MB / 338 MB, free: 8.137 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004707/0.0125, allocations: 0.5648 MB / 338.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of Inline: time 0.0009972/0.0135, allocations: 1.105 MB / 339.6 MB, free: 6.402 MB / 286.1 MB Notification: Performance of Partitioning: time 7.094e-05/0.01358, allocations: 67.61 kB / 339.7 MB, free: 6.332 MB / 286.1 MB Notification: Performance of Cleanup: time 0.000105/0.01369, allocations: 127.6 kB / 339.8 MB, free: 6.199 MB / 286.1 MB Notification: Performance of Causalize: time 0.004016/0.01772, allocations: 4.344 MB / 344.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of Tearing: time 0.0005226/0.01825, allocations: 0.5862 MB / 344.8 MB, free: 1.25 MB / 286.1 MB Notification: Performance of Initialization: time 5.52e-07/0.01826, allocations: 3.938 kB / 344.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002151/0.01848, allocations: 318.2 kB / 345.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of Categorize: time 1.113e-05/0.0185, allocations: 0 / 345.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of Solve: time 0.0002834/0.01879, allocations: 202.9 kB / 345.3 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0003047/0.0191, allocations: 418.8 kB / 345.7 MB, free: 248 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.865e-05/0.01916, allocations: 48.66 kB / 345.7 MB, free: 212 kB / 286.1 MB Notification: Performance of SimCode: time 0.001345/0.02051, allocations: 1.662 MB / 347.4 MB, free: 14.52 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.