Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 103.6 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002295/0.002295, allocations: 212 kB / 24.55 MB, free: 3.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.7 MB / 258.3 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 44.94 MB / 359.7 MB, free: 6.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Discrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|sampler.firstTrigger|sampler.y|stateSpace.firstTrigger|stateSpace.x.1.|stateSpace.x.2.|stateSpace.y.1.|transferFunction.firstTrigger|transferFunction.x.1.|transferFunction.x1|transferFunction.xext.1.|transferFunction.xext.2.|transferFunction.y|triggeredMax.y|triggeredSampler.y|unitDelay.firstTrigger|unitDelay.u|unitDelay.y|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete") translateModel(ModelicaTest.Blocks.Discrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|sampler.firstTrigger|sampler.y|stateSpace.firstTrigger|stateSpace.x.1.|stateSpace.x.2.|stateSpace.y.1.|transferFunction.firstTrigger|transferFunction.x.1.|transferFunction.x1|transferFunction.xext.1.|transferFunction.xext.2.|transferFunction.y|triggeredMax.y|triggeredSampler.y|unitDelay.firstTrigger|unitDelay.u|unitDelay.y|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.197e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.003173/0.003195, allocations: 1.88 MB / 0.4962 GB, free: 8.152 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.004585, allocations: 0.6895 MB / 0.4968 GB, free: 7.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.901e-05/0.004674, allocations: 7.938 kB / 0.4968 GB, free: 7.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.004901, allocations: 43.69 kB / 0.4969 GB, free: 7.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.005037, allocations: 67.48 kB / 0.4969 GB, free: 7.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.005471, allocations: 115.7 kB / 0.4971 GB, free: 7.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.005857, allocations: 335.1 kB / 0.4974 GB, free: 6.898 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.006038, allocations: 36.58 kB / 0.4974 GB, free: 6.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.006272, allocations: 143.5 kB / 0.4975 GB, free: 6.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.006487, allocations: 139.4 kB / 0.4977 GB, free: 6.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.006529, allocations: 20 kB / 0.4977 GB, free: 6.562 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-05/0.0066, allocations: 28 kB / 0.4977 GB, free: 6.535 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004341/0.007034, allocations: 479.3 kB / 0.4982 GB, free: 6.062 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.00021/0.007244, allocations: 284.3 kB / 0.4985 GB, free: 5.781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.007289, allocations: 20 kB / 0.4985 GB, free: 5.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.058e-05/0.007319, allocations: 15.81 kB / 0.4985 GB, free: 5.746 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: 44 (42) * Number of variables: 44 (42) Notification: Performance of [SIM] Bindings: time 0.001413/0.008732, allocations: 1.24 MB / 0.4997 GB, free: 4.383 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001361/0.008868, allocations: 121.2 kB / 0.4998 GB, free: 4.25 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007887/0.009657, allocations: 0.7404 MB / 0.5005 GB, free: 3.484 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002525/0.009909, allocations: 168.5 kB / 0.5007 GB, free: 3.273 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0009831/0.01089, allocations: 0.6573 MB / 0.5013 GB, free: 2.551 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002297/0.01112, allocations: 165.1 kB / 0.5015 GB, free: 2.34 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001243/0.01125, allocations: 118.9 kB / 0.5016 GB, free: 2.199 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0004974/0.01174, allocations: 373.8 kB / 0.502 GB, free: 1.777 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001704/0.01191, allocations: 103.5 kB / 0.5021 GB, free: 1.676 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003938/0.01231, allocations: 323.4 kB / 0.5024 GB, free: 1.348 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0008917/0.0132, allocations: 0.5862 MB / 0.5029 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006048/0.0138, allocations: 0.6243 MB / 0.5036 GB, free: 132 kB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0008554/0.01466, allocations: 0.4994 MB / 0.504 GB, free: 15.55 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0009728/0.01563, allocations: 0.9872 MB / 0.505 GB, free: 14.55 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 4.987e-05/0.01568, allocations: 32 kB / 0.505 GB, free: 14.52 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001429/0.01583, allocations: 163.8 kB / 0.5052 GB, free: 14.36 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.002228/0.01805, allocations: 1.597 MB / 0.5068 GB, free: 12.75 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 4.471e-05/0.0181, allocations: 36 kB / 0.5068 GB, free: 12.71 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 4.31e-07/0.0181, allocations: 0 / 0.5068 GB, free: 12.71 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001073/0.01821, allocations: 64.34 kB / 0.5069 GB, free: 12.64 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.677e-06/0.01821, allocations: 4.375 kB / 0.5069 GB, free: 12.63 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 1.644e-05/0.01823, allocations: 28 kB / 0.5069 GB, free: 12.61 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 6.612e-06/0.01824, allocations: 0 / 0.5069 GB, free: 12.61 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.0005679/0.01881, allocations: 379.4 kB / 0.5072 GB, free: 12.25 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001802/0.01899, allocations: 186 kB / 0.5074 GB, free: 12.03 MB / 382.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: .................... 24 (22) {triggeredMax.y, booleanPulse.pulseStart, triggeredSampler.y, stateSpace.firstTrigger, stateSpace.y, stateSpace.x, transferFunction.firstTrigger, transferFunction.y, transferFunction.x, transferFunction.xext, transferFunction.x1, unitDelay.firstTrigger, unitDelay.y, firstOrderHold.firstTrigger, firstOrderHold.c, firstOrderHold.pre_uSample, firstOrderHold.uSample, firstOrderHold.tSample, zeroOrderHold.firstTrigger, zeroOrderHold.ySample, sampler.firstTrigger, sampler.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 18 (18) {sampler.sampleTrigger, zeroOrderHold.sampleTrigger, firstOrderHold.sampleTrigger, unitDelay.sampleTrigger, transferFunction.sampleTrigger, stateSpace.sampleTrigger, triggeredSampler.trigger, $SEV_0, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Warning: Cannot classify strong component: BLOCK: Sliced Component (status = Solve.EXPLICIT, size = 2) ------------------------------------------------------------- ### Variable: transferFunction.xext ### Equation: [WHEN] (2) ($RES_SIM_20) [----] when transferFunction.sampleTrigger then [----] transferFunction.xext := {transferFunction.x1, $PRE.transferFunction.x} [----] end when; Warning: Cannot classify strong component: BLOCK: Sliced Component (status = Solve.EXPLICIT, size = 2) ------------------------------------------------------------- ### Variable: stateSpace.x ### Equation: [WHEN] (2) ($RES_SIM_15) [----] when stateSpace.sampleTrigger then [----] stateSpace.x := stateSpace.A * $PRE.stateSpace.x + stateSpace.B * stateSpace.u [----] end when; Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 23 (scalar:23, array:0, record:0) * Number of multi strong components: ............ 20 (algorithm:0, when:20, 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: ........... 73 (scalar:65, array:8, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 0.0001584/0.01914, allocations: 67.61 kB / 0.5075 GB, free: 11.98 MB / 382.1 MB Notification: Performance of SimCode: time 0.00123/0.02037, allocations: 0.8051 MB / 0.5083 GB, free: 11.14 MB / 382.1 MB Notification: Performance of Templates: time 0.005704/0.02608, allocations: 2.123 MB / 0.5103 GB, free: 9.031 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete.makefile [Timeout 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_functions.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_records.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_01exo.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_02nls.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_03lsy.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_04set.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_05evt.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_06inz.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_06inz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_07dly.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_07dly.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_08bnd.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_08bnd.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_09alg.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_09alg.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_10asr.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_10asr.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_11mix.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_11mix.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_12jac.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_12jac.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_13opt.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_13opt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_14lnz.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_14lnz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_15syn.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_15syn.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Blocks_Discrete -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_4.0.0_ModelicaTest.Blocks.Discrete_16dae.o ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_16dae.c ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_16dae.c:30:183: error: operand of type 'real_array' (aka 'struct base_array_s') where arithmetic or pointer type is required array_alloc_scalar_real_array(&tmp0, 2, (modelica_real)(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* transferFunction.x1 DISCRETE */), (modelica_real)tmp1); ^~~~ 1 error generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete_16dae.o] Error 1 [Calling os._exit(0), Time elapsed: 4.612465328013059] Failed to read output from testmodel.py, exit status != 0: ['time', 'firstOrderHold.c', 'firstOrderHold.firstTrigger', 'firstOrderHold.pre_uSample', 'firstOrderHold.tSample', 'firstOrderHold.uSample', 'sampler.firstTrigger', 'sampler.y', 'stateSpace.firstTrigger', 'stateSpace.x[1]', 'stateSpace.x[2]', 'stateSpace.y[1]', 'transferFunction.firstTrigger', 'transferFunction.x[1]', 'transferFunction.x1', 'transferFunction.xext[1]', 'transferFunction.xext[2]', 'transferFunction.y', 'triggeredMax.y', 'triggeredSampler.y', 'unitDelay.firstTrigger', 'unitDelay.u', 'unitDelay.y', 'zeroOrderHold.firstTrigger', 'zeroOrderHold.ySample'] 0.034144386008847505 0.31496834100000004 0.30453724000000004 Calling exit ...