Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 110.3 kB / 18.42 MB, free: 4.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 188.3 kB / 19.35 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.098/1.098, allocations: 205.1 MB / 225.2 MB, free: 12.29 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.831e-05, allocations: 7.203 kB / 329.2 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002601/0.002627, allocations: 2.332 MB / 331.5 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.003688, allocations: 0.7059 MB / 332.2 MB, free: 296 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.003799, allocations: 0 / 332.2 MB, free: 296 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.003935, allocations: 31.72 kB / 332.2 MB, free: 264 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.004049, allocations: 59.48 kB / 332.3 MB, free: 204 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.004357, allocations: 95.69 kB / 332.4 MB, free: 108 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.004704, allocations: 291 kB / 332.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.004844, allocations: 48.27 kB / 332.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.005036, allocations: 115.6 kB / 332.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.005201, allocations: 111.5 kB / 332.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.005247, allocations: 20 kB / 333 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.584e-05/0.00529, allocations: 24 kB / 333 MB, free: 15.51 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002207/0.005515, allocations: 328.5 kB / 333.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 9.858e-05/0.00562, allocations: 201 kB / 333.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.005682, allocations: 31.94 kB / 333.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.933e-05/0.005726, allocations: 15.88 kB / 333.6 MB, free: 14.94 MB / 286.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.0007309/0.006464, allocations: 0.8277 MB / 334.4 MB, free: 14 MB / 286.1 MB Notification: Performance of FunctionAlias: time 7.726e-05/0.00655, allocations: 43.86 kB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0003583/0.006915, allocations: 410.3 kB / 334.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of simplify1: time 8.356e-05/0.007005, allocations: 82.64 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of Alias: time 0.0007276/0.00774, allocations: 0.5769 MB / 335.5 MB, free: 12.74 MB / 286.1 MB Notification: Performance of simplify2: time 6.095e-05/0.007811, allocations: 72.64 kB / 335.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001672/0.007984, allocations: 143.4 kB / 335.7 MB, free: 12.49 MB / 286.1 MB Notification: Performance of Events: time 0.0001721/0.008164, allocations: 120 kB / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001356/0.008308, allocations: 116.2 kB / 335.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of Causalize: time 0.000543/0.008859, allocations: 486.7 kB / 336.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003286/0.009196, allocations: 360 kB / 336.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of Inline: time 0.0005935/0.009797, allocations: 0.5616 MB / 337.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of Partitioning: time 2.967e-05/0.009836, allocations: 18.38 kB / 337.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of Cleanup: time 9.624e-05/0.009937, allocations: 111.9 kB / 337.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of Causalize: time 0.0007551/0.0107, allocations: 0.6523 MB / 338.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of Tearing: time 8.716e-06/0.01072, allocations: 0 / 338.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of Initialization: time 5.21e-07/0.01072, allocations: 0 / 338.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of Tearing: time 4.228e-06/0.01073, allocations: 4 kB / 338.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of Categorize: time 7.384e-06/0.01074, allocations: 0 / 338.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of Solve: time 0.0002029/0.01095, allocations: 137.8 kB / 338.2 MB, free: 9.824 MB / 286.1 MB Notification: Performance of Jacobian: time 2.545e-06/0.01096, allocations: 0 / 338.2 MB, free: 9.824 MB / 286.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) {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: ........... 20 (scalar:19, 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: ........... 34 (scalar:33, 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 5.308e-05/0.01102, allocations: 29.41 kB / 338.3 MB, free: 9.797 MB / 286.1 MB Notification: Performance of SimCode: time 0.0008353/0.01186, allocations: 1.348 MB / 339.6 MB, free: 8.43 MB / 286.1 MB Notification: Performance of Templates: time 0.004102/0.01597, allocations: 2.108 MB / 341.7 MB, free: 6.324 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile make -j1 -f Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_functions.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_records.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_01exo.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_02nls.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_03lsy.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_04set.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.o Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:161: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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:161: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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:163: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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:165: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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:228: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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:230: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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:252: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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.c:254: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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_05evt.o] Error 1