Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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.001227/0.001227, allocations: 117 kB / 17.76 MB, free: 5.32 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.001028/0.001028, allocations: 188.6 kB / 18.69 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.376e-05, allocations: 2.281 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003393/0.003426, allocations: 2.593 MB / 354.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.004499, allocations: 0.6622 MB / 355.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.004639, allocations: 7.938 kB / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.004788, allocations: 39.58 kB / 355.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.005023, allocations: 87.31 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.005216, allocations: 87.81 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.005579, allocations: 342.6 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.005799, allocations: 100.9 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.005929, allocations: 115.6 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.006081, allocations: 119.5 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.006127, allocations: 28 kB / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.722e-05/0.00617, allocations: 24 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003081/0.006484, allocations: 443.3 kB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001407/0.00663, allocations: 252.2 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.006682, allocations: 47.81 kB / 356.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.77e-05/0.006726, allocations: 4 kB / 356.9 MB, free: 14.29 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: 55 (55) * Number of variables: 55 (55) Notification: Performance of Bindings: time 0.001072/0.007805, allocations: 1.246 MB / 358.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.384e-05/0.007866, allocations: 51.89 kB / 358.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004976/0.008369, allocations: 0.5776 MB / 358.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simplify1: time 5.668e-05/0.008433, allocations: 63.92 kB / 358.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Alias: time 0.001332/0.009771, allocations: 1.21 MB / 360 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simplify2: time 4.304e-05/0.009824, allocations: 39.95 kB / 360.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Events: time 0.0001189/0.009949, allocations: 76.94 kB / 360.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001875/0.01014, allocations: 152 kB / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002045/0.01036, allocations: 196.9 kB / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007449/0.01111, allocations: 0.662 MB / 361.1 MB, free: 9.648 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003622/0.01148, allocations: 416 kB / 361.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of Inline: time 0.0007235/0.01221, allocations: 0.7347 MB / 362.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of Partitioning: time 5.535e-05/0.01228, allocations: 42.36 kB / 362.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of Cleanup: time 7.158e-05/0.01235, allocations: 92.97 kB / 362.4 MB, free: 8.301 MB / 302.1 MB Notification: Performance of Causalize: time 0.002333/0.01469, allocations: 2.073 MB / 364.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of Tearing: time 0.0006692/0.01537, allocations: 0.6758 MB / 365.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of Initialization: time 9.12e-07/0.01539, allocations: 0 / 365.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003465/0.01574, allocations: 394 kB / 365.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of Categorize: time 1.491e-05/0.01576, allocations: 0 / 365.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of Solve: time 0.0002728/0.01604, allocations: 137.8 kB / 365.7 MB, free: 4.875 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003751/0.01642, allocations: 398.2 kB / 366.1 MB, free: 4.449 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: ......... 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 7.562e-05/0.01651, allocations: 55.59 kB / 366.1 MB, free: 4.402 MB / 302.1 MB Notification: Performance of SimCode: time 0.001322/0.01784, allocations: 1.541 MB / 367.7 MB, free: 2.828 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.