Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.Multivibrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 107.1 kB / 16.42 MB, free: 6.031 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.001165/0.001165, allocations: 186.6 kB / 17.35 MB, free: 5.602 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.313/1.313, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.135e-05, allocations: 7.484 kB / 327.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003129/0.003158, allocations: 2.578 MB / 329.8 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.004242, allocations: 0.702 MB / 330.5 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.004376, allocations: 4 kB / 330.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.004539, allocations: 43.58 kB / 330.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.004773, allocations: 87.25 kB / 330.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.004965, allocations: 83.83 kB / 330.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.005319, allocations: 342.6 kB / 331 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.005524, allocations: 96.94 kB / 331.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.005657, allocations: 115.6 kB / 331.3 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.005797, allocations: 127.4 kB / 331.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.005841, allocations: 24 kB / 331.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.566e-05/0.005892, allocations: 24 kB / 331.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.000315/0.006212, allocations: 443.2 kB / 331.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001479/0.006367, allocations: 252.3 kB / 332.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.006415, allocations: 43.88 kB / 332.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.601e-05/0.006446, allocations: 4 kB / 332.2 MB, free: 14.32 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.001062/0.007514, allocations: 1.246 MB / 333.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of FunctionAlias: time 5.952e-05/0.007579, allocations: 59.83 kB / 333.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0005011/0.008085, allocations: 0.5776 MB / 334 MB, free: 12.3 MB / 286.1 MB Notification: Performance of simplify1: time 5.167e-05/0.008143, allocations: 51.94 kB / 334.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of Alias: time 0.001167/0.009318, allocations: 1.086 MB / 335.2 MB, free: 11 MB / 286.1 MB Notification: Performance of simplify2: time 4.78e-05/0.009376, allocations: 43.89 kB / 335.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of Events: time 0.0001354/0.009517, allocations: 88.94 kB / 335.3 MB, free: 10.87 MB / 286.1 MB Notification: Performance of Detect States: time 0.00019/0.009714, allocations: 144 kB / 335.4 MB, free: 10.71 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001986/0.009921, allocations: 188.4 kB / 335.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of Causalize: time 0.0008915/0.01082, allocations: 0.9105 MB / 336.5 MB, free: 9.562 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003601/0.01119, allocations: 412.1 kB / 336.9 MB, free: 9.133 MB / 286.1 MB Notification: Performance of Inline: time 0.0006946/0.01189, allocations: 0.7427 MB / 337.7 MB, free: 8.355 MB / 286.1 MB Notification: Performance of Partitioning: time 4.965e-05/0.01195, allocations: 50.3 kB / 337.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of Cleanup: time 8.22e-05/0.01204, allocations: 85.05 kB / 337.8 MB, free: 8.211 MB / 286.1 MB Notification: Performance of Causalize: time 0.002392/0.01443, allocations: 2.634 MB / 340.4 MB, free: 5.598 MB / 286.1 MB Notification: Performance of Tearing: time 0.0005931/0.01504, allocations: 0.6835 MB / 341.1 MB, free: 4.816 MB / 286.1 MB Notification: Performance of Initialization: time 7.11e-07/0.01505, allocations: 4 kB / 341.1 MB, free: 4.812 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002995/0.01535, allocations: 394 kB / 341.5 MB, free: 4.379 MB / 286.1 MB Notification: Performance of Categorize: time 2.341e-05/0.01538, allocations: 4 kB / 341.5 MB, free: 4.375 MB / 286.1 MB Notification: Performance of Solve: time 0.0002153/0.0156, allocations: 137.8 kB / 341.7 MB, free: 4.238 MB / 286.1 MB Notification: Performance of Jacobian: time 0.000336/0.01595, allocations: 398 kB / 342 MB, free: 3.812 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: ......... 3 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (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: ........... 21 (scalar:21, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 38 (scalar:38, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ........... 42 (scalar:42, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.727e-05/0.016, allocations: 42.08 kB / 342.1 MB, free: 3.777 MB / 286.1 MB Notification: Performance of SimCode: time 0.00121/0.01722, allocations: 1.545 MB / 343.6 MB, free: 2.211 MB / 286.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.