Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001326/0.001326, allocations: 104.3 kB / 20.52 MB, free: 1.301 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.001439/0.001439, allocations: 216.4 kB / 23.82 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 207.7 MB / 234.7 MB, free: 9.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2587/0.2587, allocations: 44.27 MB / 331.2 MB, free: 9.262 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.Discrete") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.684e-05, allocations: 5.656 kB / 468.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.00359/0.003617, allocations: 1.867 MB / 470.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.005039, allocations: 0.6555 MB / 471.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.005132, allocations: 7.938 kB / 471.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.005374, allocations: 43.62 kB / 471.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.00551, allocations: 71.55 kB / 471.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.005913, allocations: 111.7 kB / 471.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.006281, allocations: 303.2 kB / 471.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.006462, allocations: 44.5 kB / 471.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.006653, allocations: 139.5 kB / 472 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.006866, allocations: 127.5 kB / 472.2 MB, free: 488 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.006912, allocations: 20 kB / 472.2 MB, free: 468 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.762e-05/0.00695, allocations: 24 kB / 472.2 MB, free: 444 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.0004574/0.007407, allocations: 467.5 kB / 472.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002075/0.007615, allocations: 280.2 kB / 472.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.353e-05/0.007668, allocations: 16 kB / 473 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.063e-05/0.007709, allocations: 11.88 kB / 473 MB, free: 15.67 MB / 350.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.001759/0.009468, allocations: 1.222 MB / 474.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002365/0.009705, allocations: 125.2 kB / 474.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006358/0.01034, allocations: 0.6116 MB / 474.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002654/0.01061, allocations: 168.5 kB / 475.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.001136/0.01174, allocations: 0.6614 MB / 475.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002792/0.01202, allocations: 172.3 kB / 475.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001521/0.01217, allocations: 98.98 kB / 476 MB, free: 12.27 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0007058/0.01288, allocations: 386.1 kB / 476.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.000208/0.01309, allocations: 103.5 kB / 476.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004378/0.01352, allocations: 323.2 kB / 476.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.0009456/0.01447, allocations: 0.5901 MB / 477.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006167/0.01509, allocations: 0.6087 MB / 478 MB, free: 10.2 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.0009169/0.016, allocations: 0.4914 MB / 478.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.001089/0.01709, allocations: 0.8272 MB / 479.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 5.749e-05/0.01715, allocations: 32 kB / 479.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.0001614/0.01731, allocations: 155.8 kB / 479.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.002518/0.01983, allocations: 1.601 MB / 481.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 4.34e-05/0.01987, allocations: 40 kB / 481.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 8.22e-07/0.01987, allocations: 0 / 481.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001396/0.02001, allocations: 60.41 kB / 481.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.368e-06/0.02002, allocations: 384 / 481.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 2.331e-05/0.02005, allocations: 32 kB / 481.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 1.542e-05/0.02006, allocations: 4 kB / 481.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.0005957/0.02066, allocations: 369.6 kB / 481.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002192/0.02088, allocations: 194 kB / 481.8 MB, free: 6.273 MB / 350.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: ........... 24 (scalar:24, 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: ........... 74 (scalar:66, 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.0001156/0.02099, allocations: 64.02 kB / 481.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of SimCode: time 0.001317/0.02231, allocations: 0.8118 MB / 482.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of Templates: time 0.005669/0.02798, allocations: 2.074 MB / 484.7 MB, free: 3.32 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete.makefile [Timeout 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_functions.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_records.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_01exo.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_02nls.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_03lsy.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_04set.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_05evt.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_06inz.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_06inz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_07dly.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_07dly.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_08bnd.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_08bnd.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_09alg.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_09alg.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_10asr.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_10asr.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_11mix.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_11mix.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_12jac.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_12jac.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_13opt.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_13opt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_14lnz.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_14lnz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_15syn.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_15syn.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Blocks.Discrete_16dae.o ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_16dae.c ModelicaTest_3.2.3_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[18]] /* transferFunction.x1 DISCRETE */), (modelica_real)tmp1); ^~~~ 1 error generated. make: *** [: ModelicaTest_3.2.3_ModelicaTest.Blocks.Discrete_16dae.o] Error 1 [Calling os._exit(0), Time elapsed: 4.725615233997814] 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.03657726995879784 0.049964255000000006 0.039432425 Calling exit ...