Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 107.9 kB / 19.77 MB, free: 2.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 190.5 kB / 22.94 MB, free: 5.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 225.6 MB / 251.6 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 179] 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(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.298e-05, allocations: 2.281 kB / 369.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002148/0.002161, allocations: 1.444 MB / 370.8 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002366/0.002398, allocations: 108.7 kB / 371 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.002444, allocations: 0 / 371 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.00247, allocations: 3.938 kB / 371 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.73e-05/0.002498, allocations: 0 / 371 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.002692, allocations: 31.91 kB / 371 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.556e-05/0.002767, allocations: 35.91 kB / 371 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.043e-05/0.002848, allocations: 8 kB / 371 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.002879, allocations: 15.92 kB / 371 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.333e-05/0.002912, allocations: 11.92 kB / 371.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.002925, allocations: 0 / 371.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-06/0.002933, allocations: 4 kB / 371.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of combineBinaries: time 5.779e-05/0.002991, allocations: 55.33 kB / 371.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.214e-05/0.003013, allocations: 35.47 kB / 371.2 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.711e-05/0.003031, allocations: 3.938 kB / 371.2 MB, free: 8.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.171e-05/0.003042, allocations: 3.984 kB / 371.2 MB, free: 8.41 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: 4 (4) * Number of variables: 4 (4) Notification: Performance of Bindings: time 0.0003342/0.003376, allocations: 241.6 kB / 371.4 MB, free: 8.055 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.726e-05/0.003404, allocations: 14.8 kB / 371.4 MB, free: 8.043 MB / 302.1 MB Notification: Performance of Early Inline: time 8.004e-05/0.003484, allocations: 72.72 kB / 371.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of Simplify 1: time 4.582e-05/0.00353, allocations: 36.42 kB / 371.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of Alias: time 0.0003162/0.003846, allocations: 169.2 kB / 371.7 MB, free: 7.652 MB / 302.1 MB Notification: Performance of Simplify 2: time 3.62e-05/0.003882, allocations: 40.42 kB / 371.7 MB, free: 7.586 MB / 302.1 MB Notification: Performance of Remove Stream: time 3.838e-05/0.00392, allocations: 40.44 kB / 371.8 MB, free: 7.52 MB / 302.1 MB Notification: Performance of Detect States: time 0.000156/0.004076, allocations: 91.84 kB / 371.9 MB, free: 7.395 MB / 302.1 MB Notification: Performance of Events: time 4.97e-05/0.004126, allocations: 15.94 kB / 371.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of Partitioning: time 6.886e-05/0.004195, allocations: 38.06 kB / 371.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001234/0.004318, allocations: 84.02 kB / 372 MB, free: 7.242 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 3.646e-05/0.004355, allocations: 39.95 kB / 372 MB, free: 7.203 MB / 302.1 MB Notification: Performance of Simplify: time 8.133e-05/0.004436, allocations: 72.8 kB / 372.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of Inline: time 3.399e-05/0.00447, allocations: 39.98 kB / 372.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of Partitioning: time 9.117e-06/0.004479, allocations: 12.11 kB / 372.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of Cleanup: time 1.069e-05/0.00449, allocations: 4 kB / 372.2 MB, free: 7.016 MB / 302.1 MB Notification: Performance of Causalize: time 7.945e-06/0.004498, allocations: 3.984 kB / 372.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of Tearing: time 3.436e-06/0.004501, allocations: 0 / 372.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of Initialization: time 2.054e-06/0.004503, allocations: 4 kB / 372.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of Remove Dummies: time 2.585e-06/0.004506, allocations: 0 / 372.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of Tearing: time 3.156e-06/0.004509, allocations: 0 / 372.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of Categorize: time 5.631e-06/0.004515, allocations: 4 kB / 372.2 MB, free: 7.004 MB / 302.1 MB Notification: Performance of Solve: time 2.432e-05/0.004539, allocations: 7.984 kB / 372.2 MB, free: 6.996 MB / 302.1 MB Notification: Performance of Jacobian: time 3.096e-06/0.004542, allocations: 4 kB / 372.2 MB, free: 6.992 MB / 302.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: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 0 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 1 (1) {assignClock1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {step.y, $SEV_0, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock1.y} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, 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 (resizable: 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: ........... 0 (scalar:0, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.795e-05/0.00457, allocations: 26.3 kB / 372.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of SimCode: time 0.0004581/0.005028, allocations: 0.7943 MB / 373 MB, free: 6.152 MB / 302.1 MB Notification: Performance of Templates: time 0.002054/0.007082, allocations: 352.5 kB / 373.3 MB, free: 5.809 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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=Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep -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 Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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=Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep -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 Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_functions.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_functions.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=Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep -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 Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_records.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_records.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=Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep -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 Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_01exo.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_01exo.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=Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep -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 Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_02nls.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_02nls.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=Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep -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 Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_03lsy.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_03lsy.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=Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep -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 Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_04set.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_04set.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=Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep -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 Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_05evt.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_05evt.c Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_05evt.c:15:46: error: expected expression data->modelData->samplesInfo[i].interval = #error "Clock()" /* (max real for single time events) */; ^ 1 error generated. make: *** [: Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 2.553688415326178]