Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.001476/0.001476, allocations: 108.6 kB / 21.08 MB, free: 0.8438 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.001425/0.001425, allocations: 186.1 kB / 24.34 MB, free: 4.238 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.316/1.316, allocations: 225.6 MB / 253 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.099e-05, allocations: 2.281 kB / 371.3 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003519/0.00355, allocations: 1.508 MB / 372.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009908/0.004541, allocations: 446.9 kB / 373.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.614e-05/0.004637, allocations: 4 kB / 373.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.004675, allocations: 3.938 kB / 373.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.22e-05/0.004757, allocations: 7.922 kB / 373.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.005047, allocations: 27.91 kB / 373.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.005197, allocations: 43.84 kB / 373.3 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.005318, allocations: 12 kB / 373.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.005423, allocations: 19.92 kB / 373.4 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.005487, allocations: 27.8 kB / 373.4 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.005508, allocations: 4 kB / 373.4 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.005519, allocations: 4 kB / 373.4 MB, free: 7.344 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001103/0.00563, allocations: 75.16 kB / 373.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.394e-05/0.005674, allocations: 59.23 kB / 373.5 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.0057, allocations: 0 / 373.5 MB, free: 7.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.958e-05/0.00572, allocations: 7.938 kB / 373.5 MB, free: 7.203 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.0005624/0.006282, allocations: 316.4 kB / 373.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001067/0.006389, allocations: 36.03 kB / 373.9 MB, free: 6.727 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001192/0.006508, allocations: 108.3 kB / 374 MB, free: 6.594 MB / 302.1 MB Notification: Performance of Simplify 1: time 9.901e-05/0.006607, allocations: 68.7 kB / 374.1 MB, free: 6.48 MB / 302.1 MB Notification: Performance of Alias: time 0.0004675/0.007074, allocations: 204.6 kB / 374.3 MB, free: 6.215 MB / 302.1 MB Notification: Performance of Simplify 2: time 7.928e-05/0.007154, allocations: 69.05 kB / 374.3 MB, free: 6.102 MB / 302.1 MB Notification: Performance of Remove Stream: time 4.548e-05/0.007199, allocations: 44.42 kB / 374.4 MB, free: 6.031 MB / 302.1 MB Notification: Performance of Detect States: time 0.000169/0.007368, allocations: 95.22 kB / 374.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of Events: time 7.192e-05/0.00744, allocations: 27.92 kB / 374.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001017/0.007542, allocations: 46.06 kB / 374.5 MB, free: 5.805 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001761/0.007718, allocations: 112 kB / 374.6 MB, free: 5.688 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 6.975e-05/0.007788, allocations: 71.94 kB / 374.7 MB, free: 5.617 MB / 302.1 MB Notification: Performance of Simplify: time 0.0001412/0.007929, allocations: 101.1 kB / 374.8 MB, free: 5.449 MB / 302.1 MB Notification: Performance of Inline: time 8.75e-05/0.008016, allocations: 79.94 kB / 374.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of Partitioning: time 1.057e-05/0.008027, allocations: 8.125 kB / 374.9 MB, free: 5.352 MB / 302.1 MB Notification: Performance of Cleanup: time 2.064e-05/0.008047, allocations: 15.92 kB / 374.9 MB, free: 5.336 MB / 302.1 MB Notification: Performance of Causalize: time 8.756e-06/0.008056, allocations: 0 / 374.9 MB, free: 5.336 MB / 302.1 MB Notification: Performance of Tearing: time 8.766e-06/0.008065, allocations: 4 kB / 374.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of Initialization: time 3.91e-07/0.008065, allocations: 3.938 kB / 374.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of Remove Dummies: time 4.147e-06/0.008069, allocations: 0 / 374.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of Tearing: time 1.06e-05/0.00808, allocations: 8 kB / 374.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of Categorize: time 5.831e-06/0.008086, allocations: 0 / 374.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of Solve: time 7.231e-05/0.008158, allocations: 27.98 kB / 375 MB, free: 5.293 MB / 302.1 MB Notification: Performance of Jacobian: time 5.23e-06/0.008163, allocations: 0 / 375 MB, free: 5.293 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: ................. 2 (2) {$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 4.85e-05/0.008212, allocations: 20.77 kB / 375 MB, free: 5.277 MB / 302.1 MB Notification: Performance of SimCode: time 0.0008012/0.009013, allocations: 0.81 MB / 375.8 MB, free: 4.441 MB / 302.1 MB Notification: Performance of Templates: time 0.003394/0.01241, allocations: 436.4 kB / 376.2 MB, free: 4.016 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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_RealSignals_TimeBasedSine -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.RealSignals.TimeBasedSine.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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_RealSignals_TimeBasedSine -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.RealSignals.TimeBasedSine_functions.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_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_RealSignals_TimeBasedSine -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.RealSignals.TimeBasedSine_records.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_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_RealSignals_TimeBasedSine -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.RealSignals.TimeBasedSine_01exo.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_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_RealSignals_TimeBasedSine -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.RealSignals.TimeBasedSine_02nls.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_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_RealSignals_TimeBasedSine -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.RealSignals.TimeBasedSine_03lsy.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_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_RealSignals_TimeBasedSine -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.RealSignals.TimeBasedSine_04set.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_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_RealSignals_TimeBasedSine -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.RealSignals.TimeBasedSine_05evt.o Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_05evt.c Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_05evt.c:15:46: error: expected expression data->modelData->samplesInfo[i].interval = #error "Clock()" /* (max real for single time events) */; ^ 1 error generated. make: *** [<builtin>: Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 2.8742271503433585] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 0.02121235989034176 0.20665192200000002 0.19851885000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5924b15780>