Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 108.5 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.001717/0.001717, allocations: 210.5 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.206/1.206, allocations: 230.4 MB / 251.3 MB, free: 8.699 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.768e-06/9.768e-06, allocations: 2.281 kB / 368.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002224/0.002234, allocations: 1.571 MB / 370.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003241/0.002558, allocations: 147.5 kB / 370.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.002612, allocations: 0 / 370.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.002645, allocations: 3.938 kB / 370.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.073e-05/0.002736, allocations: 7.938 kB / 370.6 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.00291, allocations: 35.89 kB / 370.6 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.751e-05/0.003008, allocations: 47.84 kB / 370.6 MB, free: 4.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.575e-05/0.003083, allocations: 15.98 kB / 370.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.003118, allocations: 15.92 kB / 370.7 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.614e-05/0.003154, allocations: 15.92 kB / 370.7 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.00317, allocations: 4 kB / 370.7 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-06/0.003177, allocations: 0 / 370.7 MB, free: 4.699 MB / 302.1 MB Notification: Performance of combineBinaries: time 6.844e-05/0.003246, allocations: 71.02 kB / 370.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.564e-05/0.003271, allocations: 47.22 kB / 370.8 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.573e-05/0.003287, allocations: 8 kB / 370.8 MB, free: 4.574 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.529e-05/0.003302, allocations: 3.938 kB / 370.8 MB, free: 4.57 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of Bindings: time 0.0003582/0.003661, allocations: 289.2 kB / 371.1 MB, free: 4.168 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.402e-05/0.003685, allocations: 18.73 kB / 371.1 MB, free: 4.152 MB / 302.1 MB Notification: Performance of Early Inline: time 7.802e-05/0.003763, allocations: 68.78 kB / 371.2 MB, free: 4.059 MB / 302.1 MB Notification: Performance of Simplify 1: time 4.729e-05/0.00381, allocations: 48.3 kB / 371.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of Alias: time 0.0003705/0.00418, allocations: 221.2 kB / 371.4 MB, free: 3.695 MB / 302.1 MB Notification: Performance of Simplify 2: time 3.641e-05/0.004217, allocations: 44.36 kB / 371.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of Remove Stream: time 3.631e-05/0.004253, allocations: 44.8 kB / 371.5 MB, free: 3.555 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001449/0.004398, allocations: 73.59 kB / 371.6 MB, free: 3.445 MB / 302.1 MB Notification: Performance of Events: time 5.483e-05/0.004453, allocations: 19.97 kB / 371.6 MB, free: 3.426 MB / 302.1 MB Notification: Performance of Partitioning: time 7.306e-05/0.004526, allocations: 50.27 kB / 371.7 MB, free: 3.359 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001358/0.004662, allocations: 96.41 kB / 371.8 MB, free: 3.25 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 3.518e-05/0.004697, allocations: 39.97 kB / 371.8 MB, free: 3.211 MB / 302.1 MB Notification: Performance of Simplify: time 8.92e-05/0.004786, allocations: 84.91 kB / 371.9 MB, free: 3.078 MB / 302.1 MB Notification: Performance of Inline: time 4.703e-05/0.004833, allocations: 47.97 kB / 371.9 MB, free: 3.027 MB / 302.1 MB Notification: Performance of Partitioning: time 1.16e-05/0.004845, allocations: 12.11 kB / 371.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of Cleanup: time 9.037e-06/0.004854, allocations: 4 kB / 372 MB, free: 3.004 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001502/0.005004, allocations: 108.4 kB / 372.1 MB, free: 2.891 MB / 302.1 MB Notification: Performance of Tearing: time 5.711e-06/0.00501, allocations: 0 / 372.1 MB, free: 2.891 MB / 302.1 MB Notification: Performance of Initialization: time 2.5e-07/0.00501, allocations: 0 / 372.1 MB, free: 2.891 MB / 302.1 MB Notification: Performance of Tearing: time 2.866e-06/0.005013, allocations: 4 kB / 372.1 MB, free: 2.887 MB / 302.1 MB Notification: Performance of Categorize: time 4.348e-06/0.005017, allocations: 0 / 372.1 MB, free: 2.887 MB / 302.1 MB Notification: Performance of Solve: time 3.385e-05/0.005051, allocations: 11.98 kB / 372.1 MB, free: 2.875 MB / 302.1 MB Notification: Performance of Jacobian: time 2.264e-06/0.005053, allocations: 4.219 kB / 372.1 MB, free: 2.871 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: ......... 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: ............................. 0 (0) {} * Number of discrete states: .................... 1 (1) {assignClock.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$SEV_0, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock.c} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, 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: ........... 3 (scalar:3, 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 2.296e-05/0.005076, allocations: 22.23 kB / 372.1 MB, free: 2.855 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005472/0.005623, allocations: 0.8605 MB / 373 MB, free: 1.969 MB / 302.1 MB Notification: Performance of Templates: time 0.0021/0.007724, allocations: 360.6 kB / 373.3 MB, free: 1.617 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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_Elementary_RealSignals_Sample2 -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.Elementary.RealSignals.Sample2.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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_Elementary_RealSignals_Sample2 -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.Elementary.RealSignals.Sample2_functions.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_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_Elementary_RealSignals_Sample2 -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.Elementary.RealSignals.Sample2_records.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_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_Elementary_RealSignals_Sample2 -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.Elementary.RealSignals.Sample2_01exo.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_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_Elementary_RealSignals_Sample2 -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.Elementary.RealSignals.Sample2_02nls.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_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_Elementary_RealSignals_Sample2 -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.Elementary.RealSignals.Sample2_03lsy.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_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_Elementary_RealSignals_Sample2 -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.Elementary.RealSignals.Sample2_04set.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_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_Elementary_RealSignals_Sample2 -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.Elementary.RealSignals.Sample2_05evt.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_05evt.c Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_05evt.o] Error 1