Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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_4.0.0_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_4.0.0_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 105.1 kB / 18.46 MB, free: 4.613 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.001024/0.001025, allocations: 193.3 kB / 19.4 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 243.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2536/0.2536, allocations: 44.17 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.102e-05, allocations: 2.281 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.004081/0.004114, allocations: 3.025 MB / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.005872, allocations: 0.9938 MB / 475.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.006071, allocations: 11.94 kB / 475.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.00619, allocations: 59.2 kB / 475.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.006423, allocations: 95 kB / 475.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007039/0.007149, allocations: 358.6 kB / 475.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006226/0.007782, allocations: 0.6518 MB / 476.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003591/0.008149, allocations: 240.2 kB / 476.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.008417, allocations: 235.1 kB / 476.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.008657, allocations: 266.7 kB / 477.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.754e-05/0.008731, allocations: 48 kB / 477.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.139e-05/0.008798, allocations: 48 kB / 477.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0005655/0.009369, allocations: 0.8915 MB / 478.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.000285/0.00966, allocations: 0.5616 MB / 478.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.634e-05/0.009744, allocations: 83.62 kB / 478.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.959e-05/0.009829, allocations: 35.69 kB / 478.7 MB, free: 5.59 MB / 350.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.002041/0.01188, allocations: 2.524 MB / 481.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001642/0.01205, allocations: 151.8 kB / 481.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001127/0.01318, allocations: 1.229 MB / 482.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001298/0.01332, allocations: 119.8 kB / 482.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of Alias: time 0.003028/0.01636, allocations: 2.583 MB / 485.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simplify2: time 9.157e-05/0.01646, allocations: 91.81 kB / 485.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Events: time 0.000459/0.01693, allocations: 346.9 kB / 485.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of Detect States: time 0.0004525/0.01739, allocations: 432.7 kB / 486.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0005016/0.0179, allocations: 480 kB / 486.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Causalize: time 0.001721/0.01963, allocations: 1.571 MB / 488.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.001019/0.02066, allocations: 1.076 MB / 489.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of Inline: time 0.00151/0.02218, allocations: 1.503 MB / 490.8 MB, free: 8.633 MB / 366.1 MB Notification: Performance of Partitioning: time 9.602e-05/0.02229, allocations: 75.62 kB / 490.9 MB, free: 8.551 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0001793/0.02247, allocations: 187.6 kB / 491.1 MB, free: 8.363 MB / 366.1 MB Notification: Performance of Causalize: time 0.004551/0.02703, allocations: 3.859 MB / 494.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of Tearing: time 0.002696/0.02974, allocations: 3.113 MB / 498 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of Initialization: time 1.603e-06/0.02976, allocations: 0 / 498 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of Tearing: time 0.0001727/0.02994, allocations: 242.2 kB / 498.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of Categorize: time 3.054e-05/0.02998, allocations: 4 kB / 498.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of Solve: time 0.001977/0.03196, allocations: 2.499 MB / 0.489 GB, free: 13.75 MB / 382.1 MB Notification: Performance of Jacobian: time 0.001092/0.03307, allocations: 1.473 MB / 0.4905 GB, free: 12.05 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 0.0001901/0.03327, allocations: 61.27 kB / 0.4905 GB, free: 11.99 MB / 382.1 MB Notification: Performance of SimCode: time 0.002739/0.03602, allocations: 2.987 MB / 0.4935 GB, free: 8.906 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.