Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 114.4 kB / 18.41 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 211.5 kB / 19.36 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 227.4 MB / 247.5 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.658e-05, allocations: 4.531 kB / 308.3 MB, free: 15.95 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003434/0.003478, allocations: 2.617 MB / 310.9 MB, free: 13.34 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.00463, allocations: 0.6956 MB / 311.6 MB, free: 12.64 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.004768, allocations: 4 kB / 311.6 MB, free: 12.63 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.004937, allocations: 39.58 kB / 311.7 MB, free: 12.59 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.005172, allocations: 91.25 kB / 311.8 MB, free: 12.5 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.005363, allocations: 79.89 kB / 311.8 MB, free: 12.43 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.005706, allocations: 354.4 kB / 312.2 MB, free: 12.08 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.005899, allocations: 96.72 kB / 312.3 MB, free: 11.98 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.00602, allocations: 111.6 kB / 312.4 MB, free: 11.87 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.006154, allocations: 135.4 kB / 312.5 MB, free: 11.73 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.006198, allocations: 24 kB / 312.5 MB, free: 11.71 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.656e-05/0.00624, allocations: 24 kB / 312.6 MB, free: 11.69 MB / 254.1 MB Notification: Performance of combineBinaries: time 0.0003018/0.006547, allocations: 423.5 kB / 313 MB, free: 11.27 MB / 254.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001331/0.006687, allocations: 260.2 kB / 313.2 MB, free: 11.01 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.006739, allocations: 47.81 kB / 313.3 MB, free: 10.96 MB / 254.1 MB Notification: Performance of FrontEnd: time 2.558e-05/0.006769, allocations: 8 kB / 313.3 MB, free: 10.96 MB / 254.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.001065/0.007839, allocations: 1.242 MB / 314.5 MB, free: 9.609 MB / 254.1 MB Notification: Performance of FunctionAlias: time 5.69e-05/0.007902, allocations: 59.89 kB / 314.6 MB, free: 9.551 MB / 254.1 MB Notification: Performance of Early Inline: time 0.000489/0.008397, allocations: 0.5854 MB / 315.2 MB, free: 8.938 MB / 254.1 MB Notification: Performance of simplify1: time 5.123e-05/0.008455, allocations: 59.94 kB / 315.2 MB, free: 8.879 MB / 254.1 MB Notification: Performance of Alias: time 0.001145/0.009606, allocations: 1.083 MB / 316.3 MB, free: 7.633 MB / 254.1 MB Notification: Performance of simplify2: time 3.649e-05/0.009654, allocations: 39.95 kB / 316.3 MB, free: 7.594 MB / 254.1 MB Notification: Performance of Events: time 0.0001192/0.009779, allocations: 76.94 kB / 316.4 MB, free: 7.52 MB / 254.1 MB Notification: Performance of Detect States: time 0.0002772/0.01006, allocations: 148 kB / 316.6 MB, free: 7.359 MB / 254.1 MB Notification: Performance of Partitioning: time 0.0001944/0.01027, allocations: 184.5 kB / 316.7 MB, free: 7.148 MB / 254.1 MB Notification: Performance of Causalize: time 0.0008972/0.01117, allocations: 0.9129 MB / 317.7 MB, free: 6.215 MB / 254.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003606/0.01154, allocations: 416 kB / 318.1 MB, free: 5.777 MB / 254.1 MB Notification: Performance of Inline: time 0.0006763/0.01222, allocations: 0.7154 MB / 318.8 MB, free: 5.027 MB / 254.1 MB Notification: Performance of Partitioning: time 4.761e-05/0.01228, allocations: 42.36 kB / 318.8 MB, free: 4.977 MB / 254.1 MB Notification: Performance of Cleanup: time 8.396e-05/0.01237, allocations: 92.97 kB / 318.9 MB, free: 4.883 MB / 254.1 MB Notification: Performance of Causalize: time 0.002289/0.01467, allocations: 2.643 MB / 321.6 MB, free: 2.266 MB / 254.1 MB Notification: Performance of Tearing: time 0.0005294/0.01521, allocations: 0.6797 MB / 322.2 MB, free: 1.488 MB / 254.1 MB Notification: Performance of Initialization: time 3.216e-06/0.01522, allocations: 4 kB / 322.2 MB, free: 1.484 MB / 254.1 MB Notification: Performance of Tearing: time 0.0002775/0.0155, allocations: 391.2 kB / 322.6 MB, free: 1.055 MB / 254.1 MB Notification: Performance of Categorize: time 1.25e-05/0.01552, allocations: 7.938 kB / 322.6 MB, free: 1.047 MB / 254.1 MB Notification: Performance of Solve: time 0.0002221/0.01575, allocations: 138 kB / 322.8 MB, free: 0.9141 MB / 254.1 MB Notification: Performance of Jacobian: time 0.0003148/0.01607, allocations: 402 kB / 323.2 MB, free: 496 kB / 254.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.283e-05/0.01612, allocations: 40.84 kB / 323.2 MB, free: 464 kB / 254.1 MB Notification: Performance of SimCode: time 0.001085/0.01721, allocations: 1.532 MB / 324.7 MB, free: 14.89 MB / 270.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.