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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 111.8 kB / 18.47 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 218.2 kB / 19.43 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.072e-05, allocations: 8.469 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003486/0.003515, allocations: 2.386 MB / 361.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.004794, allocations: 0.7517 MB / 362.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.004908, allocations: 4 kB / 362.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.005063, allocations: 35.66 kB / 362.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.243e-05/0.005174, allocations: 51.5 kB / 362.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.005529, allocations: 95.75 kB / 362.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.005874, allocations: 303 kB / 363 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.00606, allocations: 72.27 kB / 363 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.006311, allocations: 119.5 kB / 363.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.006485, allocations: 111.5 kB / 363.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.006533, allocations: 20 kB / 363.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.811e-05/0.006617, allocations: 28 kB / 363.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002673/0.00689, allocations: 340.3 kB / 363.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001121/0.007009, allocations: 204.9 kB / 363.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.007079, allocations: 35.88 kB / 363.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.844e-05/0.007123, allocations: 4 kB / 363.9 MB, free: 8.434 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 Bindings: time 0.001084/0.008212, allocations: 1.042 MB / 364.9 MB, free: 7.285 MB / 302.1 MB Notification: Performance of FunctionAlias: time 4.733e-05/0.008266, allocations: 31.97 kB / 364.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006596/0.008931, allocations: 0.67 MB / 365.6 MB, free: 6.555 MB / 302.1 MB Notification: Performance of simplify1: time 3.828e-05/0.008978, allocations: 35.95 kB / 365.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of Alias: time 0.001203/0.01019, allocations: 0.8574 MB / 366.5 MB, free: 5.555 MB / 302.1 MB Notification: Performance of simplify2: time 3.079e-05/0.01023, allocations: 27.95 kB / 366.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of Detect States: time 0.000266/0.0105, allocations: 180 kB / 366.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of Events: time 0.0002406/0.01075, allocations: 123.7 kB / 366.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000209/0.01097, allocations: 161.3 kB / 367 MB, free: 5.043 MB / 302.1 MB Notification: Performance of Causalize: time 0.000752/0.01173, allocations: 0.6179 MB / 367.6 MB, free: 4.406 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004795/0.01222, allocations: 492.2 kB / 368.1 MB, free: 3.898 MB / 302.1 MB Notification: Performance of Inline: time 0.0008546/0.01308, allocations: 0.8466 MB / 368.9 MB, free: 3.016 MB / 302.1 MB Notification: Performance of Partitioning: time 4.128e-05/0.01313, allocations: 38.38 kB / 369 MB, free: 2.973 MB / 302.1 MB Notification: Performance of Cleanup: time 4.919e-05/0.01319, allocations: 43.94 kB / 369 MB, free: 2.93 MB / 302.1 MB Notification: Performance of Causalize: time 0.001021/0.01421, allocations: 0.8901 MB / 369.9 MB, free: 2.031 MB / 302.1 MB Notification: Performance of Tearing: time 1.11e-05/0.01423, allocations: 0 / 369.9 MB, free: 2.031 MB / 302.1 MB Notification: Performance of Initialization: time 3.81e-07/0.01424, allocations: 4 kB / 369.9 MB, free: 2.027 MB / 302.1 MB Notification: Performance of Tearing: time 3.917e-06/0.01425, allocations: 3.984 kB / 369.9 MB, free: 2.023 MB / 302.1 MB Notification: Performance of Categorize: time 1.013e-05/0.01427, allocations: 4 kB / 369.9 MB, free: 2.02 MB / 302.1 MB Notification: Performance of Solve: time 0.0002379/0.01451, allocations: 158 kB / 370.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of Jacobian: time 3.446e-06/0.01452, allocations: 0 / 370.1 MB, free: 1.855 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.T0, pulse.np} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 25 (13) {aD_Converter.y, aD_Converter.trig, aD_Converter.z, pulse.sampling, dA_Converter.x, dA_Converter.vout, dA_Converter.y, $SEV_10, $SEV_9, $SEV_8, $TEV_2, $TEV_1, $TEV_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:18, array:1, record:0) * Number of multi strong components: ............ 5 (algorithm:2, when:2, if:1, tuple:0) * Number of for-loop strong components: ......... 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:32, array:1, record:0) * Number of multi strong components: ............ 2 (algorithm:1, when:0, if:1, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001053/0.01463, allocations: 22.34 kB / 370.1 MB, free: 1.84 MB / 302.1 MB Notification: Performance of SimCode: time 0.001203/0.01584, allocations: 1.373 MB / 371.5 MB, free: 452 kB / 302.1 MB Notification: Performance of Templates: time 0.171/0.1869, allocations: 2.11 MB / 373.6 MB, free: 15.21 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile 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/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_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/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_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/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_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/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_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/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_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/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_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/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_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/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_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:158:88: error: use of undeclared identifier 'i' gout[3] = ((((&data->localData[0]->integerVars[10] /* dA_Converter.x[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[10] /* dA_Converter.x[1] DISCRETE */)[i - 1] == 8))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:158:177: error: use of undeclared identifier 'i' gout[3] = ((((&data->localData[0]->integerVars[10] /* dA_Converter.x[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[10] /* dA_Converter.x[1] DISCRETE */)[i - 1] == 8))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:160:87: error: use of undeclared identifier 'i' gout[4] = (((&data->localData[0]->integerVars[10] /* dA_Converter.x[1] DISCRETE */)[i - 1] == 4)) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:162:87: error: use of undeclared identifier 'i' gout[5] = (((&data->localData[0]->integerVars[10] /* dA_Converter.x[1] DISCRETE */)[i - 1] == 8)) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:225:115: error: use of undeclared identifier 'i' data->simulationInfo->relations[4] = ((&data->localData[0]->integerVars[10] /* dA_Converter.x[1] DISCRETE */)[i - 1] == 4); ^ Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:227:115: error: use of undeclared identifier 'i' data->simulationInfo->relations[5] = ((&data->localData[0]->integerVars[10] /* dA_Converter.x[1] DISCRETE */)[i - 1] == 8); ^ Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:249:115: error: use of undeclared identifier 'i' data->simulationInfo->relations[4] = ((&data->localData[0]->integerVars[10] /* dA_Converter.x[1] DISCRETE */)[i - 1] == 4); ^ Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:251:115: error: use of undeclared identifier 'i' data->simulationInfo->relations[5] = ((&data->localData[0]->integerVars[10] /* dA_Converter.x[1] DISCRETE */)[i - 1] == 8); ^ 8 errors generated. make: *** [: Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.o] Error 1