Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 115.5 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 210.3 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.548e-05, allocations: 4.672 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004381/0.004415, allocations: 3.094 MB / 362.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.006044, allocations: 0.8026 MB / 363.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.006358, allocations: 8 kB / 363.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.006593, allocations: 55.44 kB / 363.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.006906, allocations: 119.1 kB / 363.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.007312, allocations: 119.8 kB / 363.6 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006436/0.007965, allocations: 0.5099 MB / 364.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.00825, allocations: 146.8 kB / 364.2 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.008639, allocations: 179.4 kB / 364.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.008918, allocations: 191.1 kB / 364.6 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.008995, allocations: 44 kB / 364.6 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.027e-05/0.009081, allocations: 44 kB / 364.7 MB, free: 7.645 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004432/0.009532, allocations: 0.5837 MB / 365.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002325/0.009772, allocations: 354.8 kB / 365.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.009889, allocations: 71.75 kB / 365.7 MB, free: 6.633 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.128e-05/0.009966, allocations: 8 kB / 365.7 MB, free: 6.625 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 (68) * Number of variables: 68 (68) Notification: Performance of Bindings: time 0.001875/0.01185, allocations: 1.792 MB / 367.5 MB, free: 4.719 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001144/0.01197, allocations: 67.89 kB / 367.5 MB, free: 4.652 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009235/0.0129, allocations: 0.8936 MB / 368.4 MB, free: 3.73 MB / 302.1 MB Notification: Performance of simplify1: time 0.000116/0.01302, allocations: 83.89 kB / 368.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of Alias: time 0.002232/0.01526, allocations: 1.763 MB / 370.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of simplify2: time 9.261e-05/0.01537, allocations: 51.95 kB / 370.3 MB, free: 1.66 MB / 302.1 MB Notification: Performance of Events: time 0.0002954/0.01567, allocations: 148.6 kB / 370.5 MB, free: 1.516 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003333/0.01601, allocations: 243.9 kB / 370.7 MB, free: 1.266 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003154/0.01634, allocations: 247.6 kB / 370.9 MB, free: 1 MB / 302.1 MB Notification: Performance of Causalize: time 0.001045/0.01739, allocations: 0.8795 MB / 371.8 MB, free: 100 kB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.2294/0.2468, allocations: 0.6153 MB / 372.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of Inline: time 0.001697/0.2486, allocations: 1.238 MB / 373.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000107/0.2487, allocations: 70 kB / 373.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of Cleanup: time 6.809e-05/0.2488, allocations: 49.47 kB / 373.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of Causalize: time 0.003087/0.2519, allocations: 1.927 MB / 375.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Tearing: time 0.0005712/0.2525, allocations: 412 kB / 376.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of Initialization: time 1.763e-06/0.2525, allocations: 0 / 376.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003927/0.2529, allocations: 412.3 kB / 376.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of Categorize: time 2.204e-05/0.2529, allocations: 5.891 kB / 376.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Solve: time 0.0004195/0.2534, allocations: 188.9 kB / 376.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0004892/0.2539, allocations: 488.7 kB / 377.2 MB, free: 14.18 MB / 302.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: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {derivative.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: ........... 25 (scalar:25, 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: ........... 61 (scalar:61, 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.294e-05/0.2539, allocations: 36.59 kB / 377.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of SimCode: time 0.002297/0.2562, allocations: 1.984 MB / 379.2 MB, free: 13.12 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.