Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 107.2 kB / 16.42 MB, free: 6.465 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.001425/0.001425, 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.359/1.359, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/1.91e-05, allocations: 2.281 kB / 327.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003377/0.003405, allocations: 2.925 MB / 330.1 MB, free: 384 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.004533, allocations: 0.7799 MB / 330.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.004668, allocations: 4 kB / 330.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.004801, allocations: 59.44 kB / 331 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.004975, allocations: 99.11 kB / 331.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.005224, allocations: 127.8 kB / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003913/0.005624, allocations: 450.3 kB / 331.6 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.005836, allocations: 131.6 kB / 331.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.005982, allocations: 147.4 kB / 331.9 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.006138, allocations: 167.2 kB / 332.1 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.006188, allocations: 36 kB / 332.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.269e-05/0.006246, allocations: 32 kB / 332.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003782/0.006629, allocations: 0.5642 MB / 332.7 MB, free: 13.78 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001819/0.006817, allocations: 339 kB / 333 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.006879, allocations: 63.81 kB / 333.1 MB, free: 13.38 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.526e-05/0.006909, allocations: 11.94 kB / 333.1 MB, free: 13.37 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: 75 (75) * Number of variables: 75 (75) Notification: Performance of Bindings: time 0.001317/0.00823, allocations: 1.632 MB / 334.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FunctionAlias: time 6.452e-05/0.008301, allocations: 75.88 kB / 334.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0006808/0.008987, allocations: 0.7922 MB / 335.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of simplify1: time 6.412e-05/0.00906, allocations: 79.84 kB / 335.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of Alias: time 0.001431/0.0105, allocations: 1.464 MB / 337.2 MB, free: 8.969 MB / 286.1 MB Notification: Performance of simplify2: time 5.609e-05/0.01057, allocations: 51.94 kB / 337.2 MB, free: 8.918 MB / 286.1 MB Notification: Performance of Events: time 0.0001422/0.01071, allocations: 116.2 kB / 337.3 MB, free: 8.805 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001933/0.01091, allocations: 178.3 kB / 337.5 MB, free: 8.617 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002436/0.01117, allocations: 259.7 kB / 337.7 MB, free: 8.324 MB / 286.1 MB Notification: Performance of Causalize: time 0.001158/0.01233, allocations: 1.266 MB / 339 MB, free: 7.023 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004611/0.0128, allocations: 0.5276 MB / 339.5 MB, free: 6.469 MB / 286.1 MB Notification: Performance of Inline: time 0.0009054/0.01372, allocations: 0.9689 MB / 340.5 MB, free: 5.465 MB / 286.1 MB Notification: Performance of Partitioning: time 6.13e-05/0.01379, allocations: 58.31 kB / 340.6 MB, free: 5.398 MB / 286.1 MB Notification: Performance of Cleanup: time 0.0001041/0.0139, allocations: 117 kB / 340.7 MB, free: 5.281 MB / 286.1 MB Notification: Performance of Causalize: time 0.00312/0.01702, allocations: 3.562 MB / 344.2 MB, free: 1.789 MB / 286.1 MB Notification: Performance of Tearing: time 0.0009472/0.01798, allocations: 1.27 MB / 345.5 MB, free: 332 kB / 286.1 MB Notification: Performance of Initialization: time 4.11e-07/0.01799, allocations: 0 / 345.5 MB, free: 332 kB / 286.1 MB Notification: Performance of Tearing: time 0.0004961/0.01849, allocations: 0.692 MB / 346.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of Categorize: time 1.129e-05/0.01851, allocations: 0 / 346.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of Solve: time 0.0002303/0.01875, allocations: 170.3 kB / 346.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0004052/0.01916, allocations: 471.1 kB / 346.8 MB, free: 14.87 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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: ................. 7 (7) {$SEV_6, $SEV_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: ........... 26 (scalar:26, 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: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 49 (scalar:49, 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: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 55 (scalar:55, 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: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 4.368e-05/0.01921, allocations: 46.89 kB / 346.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of SimCode: time 0.001353/0.02057, allocations: 1.867 MB / 348.7 MB, free: 12.93 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.