Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.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.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001699/0.001699, allocations: 111.8 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001853, allocations: 218.2 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.111/1.111, allocations: 227.4 MB / 247.6 MB, free: 10.46 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 / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.415e-05, allocations: 2.281 kB / 481.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002399/0.002422, allocations: 1.913 MB / 483.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.004023, allocations: 1.183 MB / 485 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.016e-05/0.004114, allocations: 0 / 485 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004992/0.004619, allocations: 191.2 kB / 485.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.004983, allocations: 167.3 kB / 485.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.005341, allocations: 159.5 kB / 485.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.005656, allocations: 303.3 kB / 485.8 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.005763, allocations: 41.64 kB / 485.8 MB, free: 212 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.005916, allocations: 119.6 kB / 486 MB, free: 92 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.006063, allocations: 111.6 kB / 486.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.006104, allocations: 16 kB / 486.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.006239, allocations: 71.88 kB / 486.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0001984/0.006444, allocations: 308.8 kB / 486.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 9.431e-05/0.006544, allocations: 193.3 kB / 486.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.006594, allocations: 35.88 kB / 486.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.551e-05/0.006624, allocations: 4 kB / 486.7 MB, free: 15.36 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: 21 (18) * Number of variables: 21 (21) Notification: Performance of Bindings: time 0.0007417/0.00737, allocations: 0.864 MB / 487.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FunctionAlias: time 4.994e-05/0.007426, allocations: 39.8 kB / 487.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0003384/0.007771, allocations: 424.2 kB / 488 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simplify1: time 2.503e-05/0.007802, allocations: 11.98 kB / 488 MB, free: 13.9 MB / 366.1 MB Notification: Performance of Alias: time 0.0005107/0.008319, allocations: 475 kB / 488.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simplify2: time 1.861e-05/0.008346, allocations: 15.97 kB / 488.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of Events: time 0.0001474/0.008499, allocations: 127.4 kB / 488.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of Detect States: time 0.0002391/0.008745, allocations: 257 kB / 488.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001985/0.008951, allocations: 200.4 kB / 489.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of Causalize: time 0.0005499/0.00951, allocations: 0.5352 MB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004006/0.009919, allocations: 0.5091 MB / 490.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of Inline: time 0.0008093/0.01073, allocations: 0.9213 MB / 491 MB, free: 10.67 MB / 366.1 MB Notification: Performance of Partitioning: time 4.892e-05/0.01079, allocations: 46.38 kB / 491.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of Cleanup: time 5.023e-05/0.01085, allocations: 51.88 kB / 491.1 MB, free: 10.57 MB / 366.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) onDelay2.delaySignal = $START.onDelay2.delaySignal ($RES_SRT_50) slice: {}; [SCAL] (1) onDelay3.delaySignal = $START.onDelay3.delaySignal ($RES_SRT_49) slice: {}; [SCAL] (1) onDelay1.delaySignal = $START.onDelay1.delaySignal ($RES_SRT_48) slice: {}; Notification: Performance of Causalize: time 0.00195/0.0128, allocations: 2.004 MB / 493.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of Tearing: time 7.314e-06/0.01282, allocations: 0 / 493.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of Initialization: time 2.6e-07/0.01283, allocations: 0 / 493.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of Tearing: time 3.717e-06/0.01284, allocations: 7.938 kB / 493.1 MB, free: 8.516 MB / 366.1 MB Notification: Performance of Categorize: time 7.875e-06/0.01285, allocations: 0 / 493.1 MB, free: 8.516 MB / 366.1 MB Notification: Performance of Solve: time 0.0002705/0.01312, allocations: 246.8 kB / 493.4 MB, free: 8.242 MB / 366.1 MB Notification: Performance of Jacobian: time 3.016e-06/0.01313, allocations: 0 / 493.4 MB, free: 8.242 MB / 366.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: ............... 0 * Number of algebraic event partitions: ......... 4 * 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) {booleanTable.combiTimeTable.nextTimeEvent, booleanTable.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 27 (27) {onDelay1.u, onDelay1.y, onDelay1.delaySignal, onDelay1.t_next, booleanStep3.y, onDelay3.y, onDelay3.delaySignal, onDelay3.t_next, booleanStep2.y, onDelay2.y, onDelay2.delaySignal, onDelay2.t_next, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 21 (scalar:21, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:3, when:2, if:3, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 37 (scalar:35, array:1, record:1) * Number of multi strong components: ............ 8 (algorithm:5, when:0, if:3, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.34e-05/0.01319, allocations: 37.95 kB / 493.4 MB, free: 8.207 MB / 366.1 MB Notification: Performance of SimCode: time 0.001613/0.01481, allocations: 1.757 MB / 495.2 MB, free: 6.559 MB / 366.1 MB Notification: Performance of Templates: time 0.004545/0.01936, allocations: 2.573 MB / 497.7 MB, free: 3.996 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.o ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay_functions.o ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay_functions.c ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay_functions.c:209:37: error: use of undeclared identifier '_OMC_LIT1' tmpMeta3 = stringAppend(_OMC_LIT1,tmp2); ^ ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay_functions.c:210:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT2); ^ ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay_functions.c:213:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT3); ^ ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay_functions.c:216:47: error: use of undeclared identifier '_OMC_LIT2' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT2); ^ 4 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay_functions.o] Error 1