Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy") translateModel(ModelicaTest.Blocks.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008616/0.0008616, allocations: 115 kB / 18.47 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008942/0.0008942, allocations: 209.1 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.105/1.105, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1656/0.1656, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.473e-05, allocations: 2.281 kB / 481.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.00312/0.003144, allocations: 3.018 MB / 484.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.004714, allocations: 1.021 MB / 486 MB, free: 76 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002198/0.004945, allocations: 15.94 kB / 486 MB, free: 60 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.005069, allocations: 59.2 kB / 486 MB, free: 0 / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.005319, allocations: 91.05 kB / 486.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/0.006021, allocations: 370.9 kB / 486.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005747/0.006604, allocations: 0.648 MB / 487.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.00689, allocations: 228.2 kB / 487.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.007171, allocations: 235.2 kB / 487.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.007388, allocations: 266.6 kB / 487.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.6e-05/0.00746, allocations: 44 kB / 487.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-05/0.007551, allocations: 56 kB / 488 MB, free: 14.08 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004588/0.008016, allocations: 0.8837 MB / 488.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.000268/0.008292, allocations: 0.5693 MB / 489.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.528e-05/0.008373, allocations: 83.62 kB / 489.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.934e-05/0.008447, allocations: 39.67 kB / 489.5 MB, free: 12.49 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 (109) * Number of variables: 109 (109) Notification: Performance of Bindings: time 0.001773/0.01023, allocations: 2.516 MB / 492 MB, free: 9.852 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0001215/0.01035, allocations: 131.8 kB / 492.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001081/0.01144, allocations: 1.397 MB / 493.6 MB, free: 8.289 MB / 366.1 MB Notification: Performance of simplify1: time 9.942e-05/0.01155, allocations: 123.8 kB / 493.7 MB, free: 8.168 MB / 366.1 MB Notification: Performance of Alias: time 0.002247/0.0138, allocations: 2.49 MB / 496.2 MB, free: 5.227 MB / 366.1 MB Notification: Performance of simplify2: time 9.686e-05/0.01391, allocations: 87.86 kB / 496.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of Events: time 0.0003468/0.01426, allocations: 346.8 kB / 496.6 MB, free: 4.801 MB / 366.1 MB Notification: Performance of Detect States: time 0.000369/0.01463, allocations: 424.9 kB / 497 MB, free: 4.371 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0004213/0.01506, allocations: 492 kB / 497.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of Causalize: time 0.001455/0.01652, allocations: 1.575 MB / 499.1 MB, free: 2.117 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008538/0.01739, allocations: 1.068 MB / 0.4884 GB, free: 1.02 MB / 366.1 MB Notification: Performance of Inline: time 0.001381/0.01877, allocations: 1.721 MB / 0.4901 GB, free: 15.27 MB / 382.1 MB Notification: Performance of Partitioning: time 7.291e-05/0.01886, allocations: 75.61 kB / 0.4902 GB, free: 15.18 MB / 382.1 MB Notification: Performance of Cleanup: time 0.0001704/0.01903, allocations: 199.5 kB / 0.4904 GB, free: 14.98 MB / 382.1 MB Notification: Performance of Causalize: time 0.003831/0.02287, allocations: 3.844 MB / 0.4941 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Tearing: time 0.002058/0.02493, allocations: 3.117 MB / 0.4972 GB, free: 7.562 MB / 382.1 MB Notification: Performance of Initialization: time 5.81e-07/0.02494, allocations: 0 / 0.4972 GB, free: 7.562 MB / 382.1 MB Notification: Performance of Tearing: time 0.0001235/0.02507, allocations: 238.1 kB / 0.4974 GB, free: 7.281 MB / 382.1 MB Notification: Performance of Categorize: time 1.475e-05/0.0251, allocations: 4.469 kB / 0.4974 GB, free: 7.277 MB / 382.1 MB Notification: Performance of Solve: time 0.001751/0.02685, allocations: 3.993 MB / 0.5013 GB, free: 2.859 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0008251/0.02769, allocations: 1.489 MB / 0.5027 GB, free: 1.148 MB / 382.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: ............... 6 * Number of algebraic event partitions: ......... 7 * 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: ............................. 12 (12) {controllerFeedbackPart1.y, firstOrder1.y, controllerFeedbackPart2.y, firstOrder2.y, controllerFeedbackPart3.y, firstOrder3.y, controllerFeedbackPart4.y, firstOrder4.y, controllerFeedbackPart5.y, firstOrder5.y, controllerFeedbackPart6.y, firstOrder6.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 31 (31) {$SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_11, $TEV_10, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 73 (scalar:73, 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: ........... 41 (scalar:41, 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: ... 7 (linear: 0, nonlinear:7) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 67 (scalar:67, 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: ... 10 (linear: 0, nonlinear:10) Notification: Performance of backend: time 8.05e-05/0.02777, allocations: 54.5 kB / 0.5028 GB, free: 1.102 MB / 382.1 MB Notification: Performance of SimCode: time 0.1477/0.1755, allocations: 2.955 MB / 0.5057 GB, free: 30.86 MB / 382.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.