Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 218.3 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.5 MB / 258.2 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.774e-05, allocations: 2.281 kB / 379.1 MB, free: 2.391 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003821/0.003839, allocations: 2.275 MB / 381.3 MB, free: 100 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2015/0.2054, allocations: 0.6951 MB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.2055, allocations: 7.656 kB / 382 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.2057, allocations: 36.52 kB / 382.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.2058, allocations: 58.25 kB / 382.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.2062, allocations: 99.42 kB / 382.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.2067, allocations: 312 kB / 382.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.2069, allocations: 54.25 kB / 382.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.2072, allocations: 123 kB / 382.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.2074, allocations: 105.8 kB / 382.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.2074, allocations: 20.88 kB / 382.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.862e-05/0.2075, allocations: 24.47 kB / 382.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003278/0.2078, allocations: 415.3 kB / 383.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001304/0.208, allocations: 242 kB / 383.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.208, allocations: 23.31 kB / 383.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.985e-05/0.2081, allocations: 7.25 kB / 383.5 MB, free: 12.51 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: 50 (36) * Number of variables: 50 (38) Notification: Performance of [SIM] Bindings: time 0.001081/0.2092, allocations: 1.061 MB / 384.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001075/0.2093, allocations: 113 kB / 384.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006891/0.21, allocations: 0.689 MB / 385.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002846/0.2102, allocations: 186.2 kB / 385.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001534/0.2118, allocations: 0.9177 MB / 386.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002172/0.212, allocations: 159.2 kB / 386.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001233/0.2121, allocations: 114 kB / 386.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002756/0.2124, allocations: 200 kB / 386.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002354/0.2126, allocations: 125 kB / 387.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003678/0.213, allocations: 271.6 kB / 387.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000683/0.2137, allocations: 479.7 kB / 387.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004868/0.2142, allocations: 0.4895 MB / 388.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0005411/0.2147, allocations: 366.4 kB / 388.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0007933/0.2155, allocations: 0.7659 MB / 389.4 MB, free: 9.449 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.038e-05/0.2155, allocations: 23.2 kB / 389.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001169/0.2156, allocations: 129.2 kB / 389.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0009453/0.2166, allocations: 0.6502 MB / 390.2 MB, free: 9.199 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.945e-05/0.2166, allocations: 17.75 kB / 390.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.41e-07/0.2166, allocations: 0 / 390.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001317/0.2167, allocations: 94.78 kB / 390.3 MB, free: 9.133 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.831e-06/0.2167, allocations: 192 / 390.3 MB, free: 9.133 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.021e-05/0.2168, allocations: 21.56 kB / 390.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.13e-05/0.2168, allocations: 2.031 kB / 390.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0005115/0.2173, allocations: 370.7 kB / 390.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001489/0.2174, allocations: 212.9 kB / 390.9 MB, free: 8.797 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: ......... 2 * 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: .................... 2 (2) {pulse.np, pulse.T0} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 23 (17) {aD_Converter.y, aD_Converter.trig, aD_Converter.z, pulse.sampling, dA_Converter.vout, dA_Converter.y, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 19 (scalar:19, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:2, when:2, 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: ........... 33 (scalar:33, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, 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.0001212/0.2175, allocations: 31.47 kB / 390.9 MB, free: 8.773 MB / 302.1 MB Notification: Performance of SimCode: time 0.001263/0.2188, allocations: 0.8135 MB / 391.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of Templates: time 0.006769/0.2256, allocations: 2.06 MB / 393.8 MB, free: 8.117 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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=Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion -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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.o Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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=Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion -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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_functions.o Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_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=Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion -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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_records.o Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_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=Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion -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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_01exo.o Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_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=Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion -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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_02nls.o Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_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=Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion -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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_03lsy.o Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_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=Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion -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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_04set.o Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_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=Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion -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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.o Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:122:137: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* aD_Converter.y[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* aD_Converter.y[1] DISCRETE */)[i - 1] == 8))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:122:265: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* aD_Converter.y[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* aD_Converter.y[1] DISCRETE */)[i - 1] == 8))) ? 1 : -1; ^ 2 errors generated. make: *** [: Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 3.255725108028855] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 0.23447530396515504 0.248980588 0.038322755 Calling exit ...