Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001167/0.001167, allocations: 111.4 kB / 18.42 MB, free: 4.645 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.001435/0.001435, allocations: 193.4 kB / 19.35 MB, free: 3.723 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.593/1.593, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.786e-05/3.786e-05, allocations: 5.094 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004516/0.004563, allocations: 2.574 MB / 331.8 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.006263, allocations: 0.702 MB / 332.5 MB, free: 8 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.006489, allocations: 4 kB / 332.5 MB, free: 4 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.006803, allocations: 43.69 kB / 332.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.007164, allocations: 83.27 kB / 332.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.007474, allocations: 83.83 kB / 332.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005897/0.008078, allocations: 346.5 kB / 333 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.008357, allocations: 96.94 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.008516, allocations: 111.6 kB / 333.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.008705, allocations: 127.5 kB / 333.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.008764, allocations: 24 kB / 333.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.813e-05/0.008829, allocations: 24 kB / 333.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003999/0.009234, allocations: 439.2 kB / 333.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001832/0.009428, allocations: 256.3 kB / 334.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.00949, allocations: 43.88 kB / 334.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.383e-05/0.009549, allocations: 8 kB / 334.1 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.001478/0.01103, allocations: 1.238 MB / 335.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of FunctionAlias: time 7.74e-05/0.01112, allocations: 71.81 kB / 335.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0005514/0.01168, allocations: 0.5659 MB / 336 MB, free: 12.33 MB / 286.1 MB Notification: Performance of simplify1: time 5.85e-05/0.01175, allocations: 63.92 kB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of Alias: time 0.001601/0.01336, allocations: 1.194 MB / 337.3 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simplify2: time 4.33e-05/0.01341, allocations: 51.88 kB / 337.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of Events: time 0.0001433/0.01356, allocations: 85.5 kB / 337.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002338/0.01381, allocations: 144.1 kB / 337.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002259/0.01404, allocations: 196.4 kB / 337.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of Causalize: time 0.0008255/0.01488, allocations: 0.6596 MB / 338.4 MB, free: 9.707 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004494/0.01534, allocations: 408.2 kB / 338.8 MB, free: 9.281 MB / 286.1 MB Notification: Performance of Inline: time 0.0008829/0.01623, allocations: 0.7464 MB / 339.5 MB, free: 8.496 MB / 286.1 MB Notification: Performance of Partitioning: time 8.731e-05/0.01632, allocations: 46.38 kB / 339.6 MB, free: 8.445 MB / 286.1 MB Notification: Performance of Cleanup: time 8.472e-05/0.01641, allocations: 89.03 kB / 339.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of Causalize: time 0.002524/0.01894, allocations: 2.073 MB / 341.7 MB, free: 6.262 MB / 286.1 MB Notification: Performance of Tearing: time 0.0007254/0.01968, allocations: 0.6874 MB / 342.4 MB, free: 5.477 MB / 286.1 MB Notification: Performance of Initialization: time 7.71e-07/0.01969, allocations: 0 / 342.4 MB, free: 5.477 MB / 286.1 MB Notification: Performance of Tearing: time 0.0003266/0.02003, allocations: 386 kB / 342.8 MB, free: 5.051 MB / 286.1 MB Notification: Performance of Categorize: time 1.695e-05/0.02005, allocations: 4 kB / 342.8 MB, free: 5.047 MB / 286.1 MB Notification: Performance of Solve: time 0.0002301/0.02029, allocations: 137.8 kB / 342.9 MB, free: 4.914 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0003631/0.02066, allocations: 414.1 kB / 343.3 MB, free: 4.473 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.546e-05/0.02072, allocations: 36.03 kB / 343.4 MB, free: 4.438 MB / 286.1 MB Notification: Performance of SimCode: time 0.001394/0.02212, allocations: 1.533 MB / 344.9 MB, free: 2.875 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.