Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 111.8 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.001391/0.001391, allocations: 206.8 kB / 19.41 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.371/1.371, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.704e-05, allocations: 4.953 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004214/0.004249, allocations: 3.098 MB / 362.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.005877, allocations: 0.7988 MB / 363.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.006088, allocations: 4 kB / 363.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.006291, allocations: 59.38 kB / 363.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.006537, allocations: 111 kB / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.007006, allocations: 135.8 kB / 363.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006223/0.007638, allocations: 0.506 MB / 364.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.007952, allocations: 143.1 kB / 364.2 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.008316, allocations: 183.3 kB / 364.4 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.008589, allocations: 187.2 kB / 364.6 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.008663, allocations: 52 kB / 364.6 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.536e-05/0.008735, allocations: 44 kB / 364.7 MB, free: 7.637 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005115/0.009252, allocations: 0.5914 MB / 365.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002348/0.009494, allocations: 346.9 kB / 365.6 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.814e-05/0.009589, allocations: 71.75 kB / 365.7 MB, free: 6.625 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.693e-05/0.009673, allocations: 11.94 kB / 365.7 MB, free: 6.613 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.001779/0.01146, allocations: 1.788 MB / 367.5 MB, free: 4.711 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.637e-05/0.01154, allocations: 75.88 kB / 367.5 MB, free: 4.637 MB / 302.1 MB Notification: Performance of Early Inline: time 0.000843/0.01239, allocations: 0.9092 MB / 368.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of simplify1: time 7.561e-05/0.01247, allocations: 75.91 kB / 368.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of Alias: time 0.002032/0.01451, allocations: 1.771 MB / 370.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of simplify2: time 4.835e-05/0.01457, allocations: 47.94 kB / 370.3 MB, free: 1.633 MB / 302.1 MB Notification: Performance of Events: time 0.0002302/0.01481, allocations: 148 kB / 370.5 MB, free: 1.488 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003036/0.01512, allocations: 245.4 kB / 370.7 MB, free: 1.234 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000255/0.01539, allocations: 240.5 kB / 371 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of Causalize: time 0.001059/0.01646, allocations: 0.8988 MB / 371.9 MB, free: 56 kB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.2007/0.2172, allocations: 0.6203 MB / 372.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of Inline: time 0.001507/0.2188, allocations: 1.236 MB / 373.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001153/0.2189, allocations: 83.41 kB / 373.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of Cleanup: time 6.799e-05/0.219, allocations: 51.42 kB / 373.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of Causalize: time 0.00255/0.2215, allocations: 1.938 MB / 375.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002942/0.2218, allocations: 303.5 kB / 376.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Initialization: time 5.92e-07/0.2218, allocations: 1.375 kB / 376.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Tearing: time 0.0001714/0.222, allocations: 306.8 kB / 376.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of Categorize: time 1.485e-05/0.222, allocations: 7.891 kB / 376.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of Solve: time 0.0003463/0.2224, allocations: 208.3 kB / 376.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003167/0.2227, allocations: 439.8 kB / 377 MB, free: 14.24 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) {firstOrder.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: ........... 29 (scalar:29, 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: ........... 65 (scalar:65, 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.565e-05/0.2228, allocations: 42.12 kB / 377.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of SimCode: time 0.001759/0.2245, allocations: 1.902 MB / 379 MB, free: 13.21 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.