Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001423, allocations: 114 kB / 17.09 MB, free: 6.004 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.001432/0.001432, allocations: 200.2 kB / 18.02 MB, free: 5.086 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.997/1.997, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2583/0.2583, allocations: 43.52 MB / 314.8 MB, free: 444 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.815e-05, allocations: 9.594 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.003793/0.003829, allocations: 3.027 MB / 445.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.005758, allocations: 1.038 MB / 446.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.006025, allocations: 15.94 kB / 446.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.006171, allocations: 63.2 kB / 446.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.006456, allocations: 90.88 kB / 446.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008275/0.00729, allocations: 367.4 kB / 447 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005712/0.007869, allocations: 0.6557 MB / 447.7 MB, free: 424 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.008236, allocations: 228.2 kB / 447.9 MB, free: 188 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.008636, allocations: 239.1 kB / 448.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003776/0.009024, allocations: 266.6 kB / 448.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.009146, allocations: 51.94 kB / 448.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.009238, allocations: 52 kB / 448.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0008395/0.01008, allocations: 0.9107 MB / 449.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005038/0.0106, allocations: 0.5847 MB / 450 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.01073, allocations: 87.62 kB / 450.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001367/0.01087, allocations: 27.75 kB / 450.1 MB, free: 13.96 MB / 334.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.00268/0.01356, allocations: 2.544 MB / 452.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.000192/0.01376, allocations: 151.8 kB / 452.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of Early Inline: time 0.001218/0.01499, allocations: 1.225 MB / 454 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001602/0.01516, allocations: 131.8 kB / 454.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of Alias: time 0.003236/0.01841, allocations: 2.587 MB / 456.8 MB, free: 6.715 MB / 334.1 MB Notification: Performance of simplify2: time 0.0001062/0.01853, allocations: 83.88 kB / 456.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of Events: time 0.0004661/0.019, allocations: 346.8 kB / 457.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of Detect States: time 0.0005276/0.01954, allocations: 426.4 kB / 457.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0005879/0.02014, allocations: 488 kB / 458.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of Causalize: time 0.002051/0.0222, allocations: 1.569 MB / 459.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.001256/0.02347, allocations: 1.068 MB / 460.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of Inline: time 0.001708/0.02519, allocations: 1.518 MB / 462.2 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of Partitioning: time 9.291e-05/0.02529, allocations: 71.61 kB / 462.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of Cleanup: time 0.0002137/0.02551, allocations: 195.5 kB / 462.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of Causalize: time 0.004624/0.03014, allocations: 3.843 MB / 466.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of Tearing: time 0.002955/0.03312, allocations: 3.108 MB / 469.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of Initialization: time 1.333e-06/0.03313, allocations: 0 / 469.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of Tearing: time 0.0001754/0.03331, allocations: 242.1 kB / 469.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of Categorize: time 3.147e-05/0.03336, allocations: 7.969 kB / 469.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of Solve: time 0.001866/0.03523, allocations: 2.503 MB / 472.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of Jacobian: time 0.001113/0.03635, allocations: 1.473 MB / 473.7 MB, free: 4.391 MB / 350.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.0001923/0.03655, allocations: 65.88 kB / 473.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of SimCode: time 0.003077/0.03964, allocations: 2.995 MB / 476.7 MB, free: 1.246 MB / 350.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.