Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 107.3 kB / 19.05 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 211.8 kB / 20.03 MB, free: 2.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.214/1.214, allocations: 230.4 MB / 251.3 MB, free: 8.695 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.869e-06/9.869e-06, allocations: 2.281 kB / 368.8 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController): time 0.002729/0.002739, allocations: 2.024 MB / 370.8 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.003633, allocations: 0.5687 MB / 371.4 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-05/0.003719, allocations: 0 / 371.4 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.317e-05/0.003812, allocations: 19.8 kB / 371.4 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.003928, allocations: 31.73 kB / 371.5 MB, free: 3.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.004127, allocations: 55.88 kB / 371.5 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.004307, allocations: 143.5 kB / 371.6 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.004423, allocations: 41.38 kB / 371.7 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.004497, allocations: 55.78 kB / 371.7 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.768e-05/0.004575, allocations: 59.7 kB / 371.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.004601, allocations: 12 kB / 371.8 MB, free: 3.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.004618, allocations: 8 kB / 371.8 MB, free: 3.562 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001587/0.004776, allocations: 201.6 kB / 372 MB, free: 3.363 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.763e-05/0.004854, allocations: 130.1 kB / 372.1 MB, free: 3.234 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.004882, allocations: 19.94 kB / 372.2 MB, free: 3.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.985e-05/0.004911, allocations: 7.938 kB / 372.2 MB, free: 3.207 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: 28 (28) * Number of variables: 28 (28) Notification: Performance of Bindings: time 0.0006264/0.005538, allocations: 0.5698 MB / 372.7 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.954e-05/0.005607, allocations: 50.69 kB / 372.8 MB, free: 2.473 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002231/0.00583, allocations: 232.3 kB / 373 MB, free: 2.219 MB / 302.1 MB Notification: Performance of Simplify 1: time 9.51e-05/0.005925, allocations: 80.36 kB / 373.1 MB, free: 2.113 MB / 302.1 MB Notification: Performance of Alias: time 0.0009255/0.006851, allocations: 0.6746 MB / 373.8 MB, free: 1.305 MB / 302.1 MB Notification: Performance of Simplify 2: time 6.379e-05/0.006915, allocations: 56.34 kB / 373.8 MB, free: 1.223 MB / 302.1 MB Notification: Performance of Remove Stream: time 4.72e-05/0.006962, allocations: 48.98 kB / 373.9 MB, free: 1.148 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002132/0.007175, allocations: 132 kB / 374 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of Events: time 8.275e-05/0.007258, allocations: 39.91 kB / 374 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001421/0.0074, allocations: 110.3 kB / 374.1 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003313/0.007731, allocations: 288.5 kB / 374.4 MB, free: 0.5 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 9.655e-05/0.007828, allocations: 107.9 kB / 374.5 MB, free: 404 kB / 302.1 MB Notification: Performance of Simplify: time 0.0001679/0.007996, allocations: 137.7 kB / 374.7 MB, free: 220 kB / 302.1 MB Notification: Performance of Inline: time 0.0001362/0.008132, allocations: 155.9 kB / 374.8 MB, free: 60 kB / 302.1 MB Notification: Performance of Partitioning: time 1.635e-05/0.008148, allocations: 16.11 kB / 374.8 MB, free: 36 kB / 302.1 MB Notification: Performance of Cleanup: time 2.994e-05/0.008178, allocations: 35.97 kB / 374.9 MB, free: 0 / 302.1 MB Notification: Performance of Causalize: time 0.0004608/0.008639, allocations: 302.3 kB / 375.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Tearing: time 9.538e-06/0.008649, allocations: 1.875 kB / 375.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Initialization: time 9.22e-07/0.008649, allocations: 0.5625 kB / 375.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Tearing: time 4.198e-06/0.008654, allocations: 1.156 kB / 375.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Categorize: time 1.032e-05/0.008664, allocations: 4.25 kB / 375.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Solve: time 0.0001048/0.008769, allocations: 46.44 kB / 375.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Jacobian: time 7.968e-05/0.008849, allocations: 194.7 kB / 375.4 MB, free: 11.89 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: ............... 1 * Number of algebraic event partitions: ......... 1 * 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: ............................. 2 (2) {load.w, load.phi} * Number of discrete states: .................... 1 (1) {PI.y} * Number of clocked states: ..................... 1 (1) {PI.x} * Number of discrete variables: ................. 3 (3) {$SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock.y} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, 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: 0generic: 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: ........... 12 (scalar:12, 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: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.056e-05/0.008879, allocations: 27.12 kB / 375.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005017/0.009381, allocations: 1.018 MB / 376.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Templates: time 0.002752/0.01213, allocations: 0.7982 MB / 377.3 MB, free: 11.07 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.makefile make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.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_1_0_beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscreteController -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.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.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_1_0_beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscreteController -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.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_functions.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_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_1_0_beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscreteController -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.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_records.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_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_1_0_beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscreteController -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.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_01exo.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_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_1_0_beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscreteController -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.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_02nls.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_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_1_0_beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscreteController -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.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_03lsy.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_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_1_0_beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscreteController -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.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_04set.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_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_1_0_beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscreteController -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.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_05evt.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_05evt.c Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_05evt.c:25:46: error: expected expression data->modelData->samplesInfo[i].interval = #error "Clock()" /* (max real for single time events) */; ^ 1 error generated. make: *** [: Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController_05evt.o] Error 1