Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001269/0.001269, allocations: 108.8 kB / 16.42 MB, free: 6.461 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.00131/0.001311, allocations: 189.5 kB / 17.36 MB, free: 5.73 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.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.34e-05, allocations: 2.281 kB / 327.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003005/0.003026, allocations: 2.579 MB / 329.8 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.00406, allocations: 0.702 MB / 330.5 MB, free: 8 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.004179, allocations: 7.938 kB / 330.5 MB, free: 0 / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.004329, allocations: 43.62 kB / 330.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.004533, allocations: 75.27 kB / 330.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.004707, allocations: 91.81 kB / 330.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.005019, allocations: 346.6 kB / 331 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.005204, allocations: 96.94 kB / 331.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.00532, allocations: 107.6 kB / 331.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.005455, allocations: 123.5 kB / 331.4 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.005496, allocations: 28 kB / 331.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.693e-05/0.005539, allocations: 28 kB / 331.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002973/0.005841, allocations: 443.2 kB / 331.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001709/0.006018, allocations: 248.3 kB / 332.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.006066, allocations: 47.88 kB / 332.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.167e-05/0.006093, allocations: 4 kB / 332.2 MB, free: 14.34 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.0011/0.007197, allocations: 1.246 MB / 333.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of FunctionAlias: time 5.041e-05/0.007254, allocations: 55.84 kB / 333.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0004896/0.007748, allocations: 0.5776 MB / 334 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simplify1: time 5.731e-05/0.007814, allocations: 63.86 kB / 334.1 MB, free: 12.26 MB / 286.1 MB Notification: Performance of Alias: time 0.001197/0.009016, allocations: 1.082 MB / 335.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simplify2: time 4.982e-05/0.009076, allocations: 35.89 kB / 335.2 MB, free: 10.98 MB / 286.1 MB Notification: Performance of Events: time 0.0001291/0.00921, allocations: 97.8 kB / 335.3 MB, free: 10.88 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002448/0.009462, allocations: 144.1 kB / 335.4 MB, free: 10.73 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001961/0.009665, allocations: 188.4 kB / 335.6 MB, free: 10.51 MB / 286.1 MB Notification: Performance of Causalize: time 0.0008763/0.01055, allocations: 0.9087 MB / 336.5 MB, free: 9.582 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003678/0.01093, allocations: 423.9 kB / 337 MB, free: 9.141 MB / 286.1 MB Notification: Performance of Inline: time 0.0007531/0.01168, allocations: 0.7329 MB / 337.7 MB, free: 8.375 MB / 286.1 MB Notification: Performance of Partitioning: time 6.087e-05/0.01175, allocations: 46.3 kB / 337.7 MB, free: 8.32 MB / 286.1 MB Notification: Performance of Cleanup: time 9.381e-05/0.01186, allocations: 93.05 kB / 337.8 MB, free: 8.227 MB / 286.1 MB Notification: Performance of Causalize: time 0.002492/0.01435, allocations: 2.633 MB / 340.5 MB, free: 5.609 MB / 286.1 MB Notification: Performance of Tearing: time 0.0006987/0.01506, allocations: 0.6718 MB / 341.1 MB, free: 4.84 MB / 286.1 MB Notification: Performance of Initialization: time 1.242e-06/0.01507, allocations: 0 / 341.1 MB, free: 4.84 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002965/0.01537, allocations: 395.2 kB / 341.5 MB, free: 4.406 MB / 286.1 MB Notification: Performance of Categorize: time 1.015e-05/0.01539, allocations: 0 / 341.5 MB, free: 4.406 MB / 286.1 MB Notification: Performance of Solve: time 0.0002076/0.01561, allocations: 141.8 kB / 341.6 MB, free: 4.266 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0003036/0.01592, allocations: 400.6 kB / 342 MB, free: 3.84 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 5.721e-05/0.01598, allocations: 49 kB / 342.1 MB, free: 3.797 MB / 286.1 MB Notification: Performance of SimCode: time 0.001112/0.0171, allocations: 1.545 MB / 343.6 MB, free: 2.234 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.