Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 114.5 kB / 18.47 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00167/0.00167, allocations: 206.2 kB / 19.42 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.699e-05, allocations: 4.391 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003787/0.003823, allocations: 2.747 MB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.005108, allocations: 0.7128 MB / 362.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.005244, allocations: 8 kB / 362.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.005427, allocations: 43.58 kB / 362.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.005643, allocations: 87.25 kB / 363 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.005954, allocations: 95.8 kB / 363.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.00639, allocations: 394.5 kB / 363.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.006594, allocations: 82.36 kB / 363.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.00676, allocations: 131.5 kB / 363.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.006933, allocations: 143.4 kB / 363.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.455e-05/0.006995, allocations: 28 kB / 363.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.28e-05/0.007054, allocations: 31.94 kB / 363.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003944/0.007455, allocations: 467 kB / 364.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002801/0.007742, allocations: 275.9 kB / 364.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.007807, allocations: 51.81 kB / 364.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.74e-05/0.007862, allocations: 11.98 kB / 364.6 MB, free: 7.605 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: 49 (49) * Number of variables: 49 (49) Notification: Performance of Bindings: time 0.001489/0.009357, allocations: 1.349 MB / 366 MB, free: 6.148 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.878e-05/0.009434, allocations: 51.89 kB / 366 MB, free: 6.098 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006109/0.01005, allocations: 0.6439 MB / 366.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of simplify1: time 5.994e-05/0.01012, allocations: 63.92 kB / 366.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of Alias: time 0.001626/0.01175, allocations: 1.18 MB / 367.9 MB, free: 4.027 MB / 302.1 MB Notification: Performance of simplify2: time 4.132e-05/0.0118, allocations: 31.95 kB / 368 MB, free: 3.996 MB / 302.1 MB Notification: Performance of Events: time 0.0002207/0.01203, allocations: 135.5 kB / 368.1 MB, free: 3.863 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002585/0.0123, allocations: 200 kB / 368.3 MB, free: 3.652 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000223/0.01253, allocations: 200.6 kB / 368.5 MB, free: 3.418 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007647/0.01331, allocations: 0.6413 MB / 369.1 MB, free: 2.738 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004801/0.0138, allocations: 0.5054 MB / 369.6 MB, free: 2.203 MB / 302.1 MB Notification: Performance of Inline: time 0.001056/0.01486, allocations: 0.969 MB / 370.6 MB, free: 1.199 MB / 302.1 MB Notification: Performance of Partitioning: time 6.852e-05/0.01494, allocations: 62.34 kB / 370.7 MB, free: 1.129 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001182/0.01506, allocations: 35.95 kB / 370.7 MB, free: 1.094 MB / 302.1 MB Notification: Performance of Causalize: time 0.2158/0.2309, allocations: 1.402 MB / 372.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003746/0.2313, allocations: 278 kB / 372.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Initialization: time 1.382e-06/0.2313, allocations: 0.75 kB / 372.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Tearing: time 0.0001884/0.2315, allocations: 269.7 kB / 372.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of Categorize: time 2.589e-05/0.2316, allocations: 2.875 kB / 372.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of Solve: time 0.0003727/0.2319, allocations: 147.5 kB / 372.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of Jacobian: time 3.717e-06/0.232, allocations: 3.969 kB / 372.8 MB, free: 14.37 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {vIn.signalSource.count, vIn.signalSource.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {$SEV_8, $SEV_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: ........... 24 (scalar:24, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 54 (scalar:54, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.628e-05/0.232, allocations: 36.86 kB / 372.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of SimCode: time 0.001252/0.2333, allocations: 1.411 MB / 374.2 MB, free: 13.49 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.